mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
- functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()
This commit is contained in:
parent
8c82566b48
commit
afccb58612
@ -872,7 +872,7 @@ PHP_FUNCTION(putenv)
|
||||
}
|
||||
}
|
||||
#else
|
||||
PHP_NOT_IN_THIS_BUILD;
|
||||
PHP_NOT_IN_THIS_BUILD();
|
||||
#endif
|
||||
}
|
||||
/* }}} */
|
||||
|
@ -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 */
|
||||
}
|
||||
/* }}} */
|
||||
|
@ -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
|
||||
}
|
||||
/* }}} */
|
||||
|
@ -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
|
||||
}
|
||||
/* }}} */
|
||||
|
@ -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 */
|
||||
}
|
||||
|
||||
|
@ -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 */
|
||||
}
|
||||
|
||||
|
@ -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; \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user