From: Yasuo Ohgaki Date: Fri, 15 Mar 2002 06:36:56 +0000 (+0000) Subject: Avoid warnings under VC. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1397 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23917d0e0c76947b933c0147f130b18b8dac8265;p=php Avoid warnings under VC. # If you know how assert() should be used under VC, please fix it. --- diff --git a/main/php.h b/main/php.h index 131ac7819e..fdbf106011 100644 --- a/main/php.h +++ b/main/php.h @@ -63,6 +63,7 @@ #include "php_regex.h" +#ifndef PHP_WIN32 #if HAVE_ASSERT_H #if PHP_DEBUG #undef NDEBUG @@ -73,6 +74,7 @@ #else /* HAVE_ASSERT_H */ #define assert(expr) ((void) (0)) #endif /* HAVE_ASSERT_H */ +#endif /* PHP_WIN32 */ #define APACHE 0