diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 7277ac99ce1..838d28ed738 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -872,7 +872,7 @@ PHP_FUNCTION(putenv) } } #else - PHP_NOT_IN_THIS_BUILD; + PHP_NOT_IN_THIS_BUILD(); #endif } /* }}} */ diff --git a/ext/standard/crypt.c b/ext/standard/crypt.c index 801282bc765..3cc610c5025 100644 --- a/ext/standard/crypt.c +++ b/ext/standard/crypt.c @@ -179,7 +179,7 @@ PHP_FUNCTION(crypt) return_value->type = IS_STRING; pval_copy_constructor(return_value); #else - PHP_NOT_IN_THIS_BUILD; + PHP_NOT_IN_THIS_BUILD(); #endif /* HAVE_CRYPT */ } /* }}} */ diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c index b00937393c8..3626d29e216 100644 --- a/ext/standard/datetime.c +++ b/ext/standard/datetime.c @@ -686,7 +686,7 @@ PHP_FUNCTION(strftime) #if HAVE_STRFTIME _php_strftime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); #else - PHP_NOT_IN_THIS_BUILD; + PHP_NOT_IN_THIS_BUILD(); #endif } /* }}} */ @@ -698,7 +698,7 @@ PHP_FUNCTION(gmstrftime) #if HAVE_STRFTIME _php_strftime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); #else - PHP_NOT_IN_THIS_BUILD; + PHP_NOT_IN_THIS_BUILD(); #endif } /* }}} */ diff --git a/ext/standard/dns.c b/ext/standard/dns.c index 181d450b5d9..6bad85efbf3 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -207,7 +207,7 @@ PHP_FUNCTION(checkdnsrr) } RETURN_TRUE; #else - PHP_NOT_IN_THIS_BUILD; + PHP_NOT_IN_THIS_BUILD(); #endif } /* }}} */ @@ -315,7 +315,7 @@ PHP_FUNCTION(getmxrr) } RETURN_TRUE; #else - PHP_NOT_IN_THIS_BUILD; + PHP_NOT_IN_THIS_BUILD(); #endif } /* }}} */ diff --git a/ext/standard/file.c b/ext/standard/file.c index 17e00ed7cdb..f9f230dce17 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -877,7 +877,7 @@ PHP_FUNCTION(socket_set_timeout) php_sockset_timeout(socketd, &t); RETURN_TRUE; #else - PHP_NOT_IN_THIS_BUILD; + PHP_NOT_IN_THIS_BUILD(); #endif /* HAVE_SYS_TIME_H */ } diff --git a/ext/standard/microtime.c b/ext/standard/microtime.c index 39a85726cce..6fe9d18c3b3 100644 --- a/ext/standard/microtime.c +++ b/ext/standard/microtime.c @@ -134,7 +134,7 @@ PHP_FUNCTION(getrusage) PHP_RUSAGE_PARA(ru_stime.tv_sec); #undef PHP_RUSAGE_PARA #else - PHP_NOT_IN_THIS_BUILD; + PHP_NOT_IN_THIS_BUILD(); #endif /* HAVE_GETRUSAGE */ } diff --git a/main/php.h b/main/php.h index db2e9660915..3be9d6af671 100644 --- a/main/php.h +++ b/main/php.h @@ -367,7 +367,7 @@ PHPAPI int cfg_get_string(char *varname, char **result); #endif -#define PHP_NOT_IN_THIS_BUILD { \ +#define PHP_NOT_IN_THIS_BUILD() { \ php_error(E_WARNING, "%s: not supported in this PHP build",get_active_function_name()); \ RETURN_FALSE; \ }