cvs: php4 /main php.h
| From: | Yasuo Ohgaki | Date: | Fri, 15 Mar 2002 06:36:56 +0000 |
| Subject: | cvs: php4 /main php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10134@lists.php.net to get a copy of this message | ||
yohgaki Fri Mar 15 01:36:56 2002 EDT
Modified files:
/php4/main php.h
Log:
Avoid warnings under VC.
# If you know how assert() should be used under VC, please fix it.
Index: php4/main/php.h
diff -u php4/main/php.h:1.160 php4/main/php.h:1.161
--- php4/main/php.h:1.160 Wed Mar 13 21:17:23 2002
+++ php4/main/php.h Fri Mar 15 01:36:56 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.160 2002/03/14 02:17:23 yohgaki Exp $ */
+/* $Id: php.h,v 1.161 2002/03/15 06:36:56 yohgaki Exp $ */
#ifndef PHP_H
#define 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