Menu

[r104]: / trunk / php-java-bridge / php_wrapper.h  Maximize  Restore  History

Download this file

30 lines (25 with data), 499 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
PHP 5.0.1 defines the following nonsense:
#if HAVE_ASSERT_H
#if PHP_DEBUG
#undef NDEBUG
#else
#ifndef NDEBUG
#define NDEBUG
#endif
#endif
Revert it!
*/
#ifdef NDEBUG
# include "php.h"
# ifndef NDEBUG
# warning php.h undefines NDEBUG. Please report this PHP bug. An API file must not change NDEBUG
# define NDEBUG 1
# endif
#else
# include "php.h"
# ifdef NDEBUG
# warning php.h defines NDEBUG. Please report this PHP bug. An API file must not change NDEBUG
# undef NDEBUG
# endif
#endif