a second (cleaner?) try on warnings about unsupported functions

This commit is contained in:
Hartmut Holzgraefe 2000-05-27 19:27:20 +00:00
parent afccb58612
commit fb39eda0d8
10 changed files with 92 additions and 46 deletions

View file

@ -366,11 +366,8 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define XtOffsetOf(s_type,field) XtOffset(s_type*,field)
#endif
#define PHP_NOT_IN_THIS_BUILD() { \
php_error(E_WARNING, "%s: not supported in this PHP build",get_active_function_name()); \
RETURN_FALSE; \
}
/* warn about unavailable functions */
#include "ext/standard/php_noavail.h"
#endif