mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
a second (cleaner?) try on warnings about unsupported functions
This commit is contained in:
parent
afccb58612
commit
fb39eda0d8
10 changed files with 92 additions and 46 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue