Avoid warnings under VC.

# If you know how assert() should be used under VC, please fix it.
This commit is contained in:
Yasuo Ohgaki 2002-03-15 06:36:56 +00:00
parent 02202751a6
commit 23917d0e0c

View file

@ -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