- 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:
Andi Gutmans 2000-05-27 18:55:11 +00:00
parent 8c82566b48
commit afccb58612
7 changed files with 9 additions and 9 deletions

View File

@ -872,7 +872,7 @@ PHP_FUNCTION(putenv)
}
}
#else
PHP_NOT_IN_THIS_BUILD;
PHP_NOT_IN_THIS_BUILD();
#endif
}
/* }}} */

View File

@ -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 */
}
/* }}} */

View File

@ -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
}
/* }}} */

View File

@ -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
}
/* }}} */

View File

@ -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 */
}

View File

@ -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 */
}

View File

@ -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; \
}