php-src/win32
Christoph M. Becker 836a162089
Don't fiddle with NDEBUG in C code (GH-16511)
* Don't fiddle with NDEBUG in C code

It is way to late to do this in php.h, since assert.h has already been
included.  Even pushing that down to zend_portability.h may not have
the desired effect.  Instead we define or undefine NDEBUG as CFLAG, so
that it works in all circumstances.

As a last resort we fail at build time, if `NDEBUG` is defined when
`ZEND_DEBUG` is enabled.

We also remove the useless workaround in zend_test to include assert.h
again, since that usually won't have any effect anyway.

Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com>
2024-10-27 18:20:59 +01:00
..
build Don't fiddle with NDEBUG in C code (GH-16511) 2024-10-27 18:20:59 +01:00
codepage.c Port win32/codepage.c codes for windows arm64 2022-07-21 14:02:25 +02:00
codepage.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
console.c Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
console.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
cp_enc_map_gen.c Remove local variables 2019-02-03 21:03:00 +01:00
cp_enc_map.c
dllmain.c win32/dllmain.c: drop some unused code (#16353) 2024-10-13 11:24:22 +01:00
fnmatch.c Remove local variables 2019-02-03 21:03:00 +01:00
fnmatch.h Remove local variables 2019-02-03 21:03:00 +01:00
ftok.c Avoid undefined behavior in Windows ftok(3) emulation 2022-11-18 14:37:00 +01:00
getrusage.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
getrusage.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
glob.c Drop remaining usage of u_char in favour of standard C99 uint8_t (#8611) 2022-05-23 21:57:31 +01:00
glob.h Remove local variables 2019-02-03 21:03:00 +01:00
globals.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
ioutil.c Drop fallback for PathCchCanonicalizeEx() (GH-16341) 2024-10-11 00:03:37 +02:00
ioutil.h Drop fallback for PathCchCanonicalizeEx() (GH-16341) 2024-10-11 00:03:37 +02:00
ipc.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
nice.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
nice.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
param.h Remove local variables 2019-02-03 21:03:00 +01:00
php_registry.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_win32_globals.h Autotools: Refactor thread safety checks (#15214) 2024-08-05 22:30:10 +02:00
readdir.c Cache d_type in directory entry 2023-07-07 18:02:32 +02:00
readdir.h Cache d_type in directory entry 2023-07-07 18:02:32 +02:00
registry.c Use more compact representation for packed arrays. 2021-11-03 15:18:26 +03:00
select.c Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597) 2023-02-18 19:31:28 +00:00
select.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
sendmail.c Fix comments in win32/sendmail.c (GH-15326) 2024-08-10 13:59:06 +02:00
sendmail.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
signal.c Sync #if/ifdef/defined (-Wundef) (#14623) 2024-06-24 19:37:07 +02:00
signal.h Fix TS build, ref #77377 2019-02-08 18:42:48 -08:00
sockets.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
sockets.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
syslog.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
time.c Voidify getfilesystemtime() (GH-15413) 2024-08-14 21:09:26 +02:00
time.h Remove php_win32_init_gettimeofday declaration (#15451) 2024-08-17 13:58:40 +02:00
unistd.h Remove local variables 2019-02-03 21:03:00 +01:00
winutil.c Fix potentially erroneous php_win32_crt_compatible() (GH-16374) 2024-10-12 16:00:15 +02:00
winutil.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
wsyslog.c Merge branch 'PHP-7.3' into PHP-7.4 2019-07-11 13:11:08 +02:00