summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-03-15 06:36:56 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-03-15 06:36:56 +0000
commit23917d0e0c76947b933c0147f130b18b8dac8265 (patch)
tree5bc56b5cb1beba6d6f48754962443d3ea454a799 /main/php.h
parent02202751a66023666479d54923ddcda04c62941b (diff)
downloadphp-git-23917d0e0c76947b933c0147f130b18b8dac8265.tar.gz
Avoid warnings under VC.
# If you know how assert() should be used under VC, please fix it.
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h2
1 files changed, 2 insertions, 0 deletions
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