mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix [-Wundef] warning in PHPDBG SAPI
This commit is contained in:
parent
56698afb6d
commit
c0997130ec
1 changed files with 3 additions and 3 deletions
|
@ -1382,11 +1382,11 @@ PHPDBG_WATCH(array) /* {{{ */
|
||||||
|
|
||||||
|
|
||||||
void phpdbg_setup_watchpoints(void) {
|
void phpdbg_setup_watchpoints(void) {
|
||||||
#if _SC_PAGE_SIZE
|
#if defined(_SC_PAGE_SIZE)
|
||||||
phpdbg_pagesize = sysconf(_SC_PAGE_SIZE);
|
phpdbg_pagesize = sysconf(_SC_PAGE_SIZE);
|
||||||
#elif _SC_PAGESIZE
|
#elif defined(_SC_PAGESIZE)
|
||||||
phpdbg_pagesize = sysconf(_SC_PAGESIZE);
|
phpdbg_pagesize = sysconf(_SC_PAGESIZE);
|
||||||
#elif _SC_NUTC_OS_PAGESIZE
|
#elif defined(_SC_NUTC_OS_PAGESIZE)
|
||||||
phpdbg_pagesize = sysconf(_SC_NUTC_OS_PAGESIZE);
|
phpdbg_pagesize = sysconf(_SC_NUTC_OS_PAGESIZE);
|
||||||
#else
|
#else
|
||||||
phpdbg_pagesize = 4096; /* common pagesize */
|
phpdbg_pagesize = 4096; /* common pagesize */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue