mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Avoid warnings under VC.
# If you know how assert() should be used under VC, please fix it.
This commit is contained in:
parent
02202751a6
commit
23917d0e0c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue