]> granicus.if.org Git - php/commitdiff
- I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
authorAndi Gutmans <andi@php.net>
Sat, 27 May 2000 18:55:11 +0000 (18:55 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 27 May 2000 18:55:11 +0000 (18:55 +0000)
- functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()

ext/standard/basic_functions.c
ext/standard/crypt.c
ext/standard/datetime.c
ext/standard/dns.c
ext/standard/file.c
ext/standard/microtime.c
main/php.h

index 7277ac99ce1523e2d637a1cd4237bdfb65a886ba..838d28ed738c0924b053b36029e3442b9e16d955 100644 (file)
@@ -872,7 +872,7 @@ PHP_FUNCTION(putenv)
                }
        }
 #else
-    PHP_NOT_IN_THIS_BUILD;
+    PHP_NOT_IN_THIS_BUILD();
 #endif
 }
 /* }}} */
index 801282bc7650680046bdb0d09f7b7cc962a83457..3cc610c5025b71fb85fc85d5c67e415132ed88ed 100644 (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 */
 }
 /* }}} */
index b00937393c83758199d1388d5595c62abfb693ef..3626d29e216a7ffcb03d2c4cc3c763cd2b4926be 100644 (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
 }
 /* }}} */
index 181d450b5d93706e3280321b144dbe05cd5685b0..6bad85efbf31ddad5f57f8e1cd0bc9c43368b046 100644 (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
 }
 /* }}} */
index 17e00ed7cdbf16958363b4846195f794671a134f..f9f230dce17122059fee7f2cd3584dcaa8bfba70 100644 (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 */
 }
 
index 39a85726ccee3774a12a50469665276a117f402a..6fe9d18c3b3ab8c01fadcb409444c05032534ca1 100644 (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 */
 }
 
index db2e9660915ceeca14763e44a4b0d9dee4ab4bf1..3be9d6af671c9d221c72538a79afc8644fb323a2 100644 (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; \
 }