Skip to content

Commit 14b9658

Browse files
committed
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
* origin/PHP-5.6: removed /EHa as __try/__catch syntax is used anyway fix ZEND_DEBUG usage fix CFLAGS_PHPDBGS and some formatting
2 parents 36a0950 + a10dc3a commit 14b9658

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

sapi/phpdbg/config.w32

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ PHPDBG_DLL='php' + PHP_VERSION + 'phpdbg.dll';
66
PHPDBG_EXE='phpdbg.exe';
77

88
if (PHP_PHPDBG == "yes") {
9-
SAPI('phpdbg', PHPDBG_SOURCES, PHPDBG_EXE);
10-
ADD_FLAG("LIBS_PHPDBG", "ws2_32.lib user32.lib");
11-
DEFINE("CFLAGS", configure_subst.item("CFLAGS") + " /EHa");
9+
SAPI('phpdbg', PHPDBG_SOURCES, PHPDBG_EXE);
10+
ADD_FLAG("LIBS_PHPDBG", "ws2_32.lib user32.lib");
1211
ADD_FLAG("CFLAGS_PHPDBG", "/D YY_NO_UNISTD_H");
1312
}
1413

1514
if (PHP_PHPDBGS == "yes") {
1615
SAPI('phpdbgs', PHPDBG_SOURCES, PHPDBG_DLL, '/D PHP_PHPDBG_EXPORTS /I win32');
1716
ADD_FLAG("LIBS_PHPDBGS", "ws2_32.lib user32.lib");
18-
DEFINE("CFLAGS", configure_subst.item("CFLAGS") + " /EHa");
19-
ADD_FLAG("CFLAGS_PHPDBG", "/D YY_NO_UNISTD_H");
17+
ADD_FLAG("CFLAGS_PHPDBGS", "/D YY_NO_UNISTD_H");
2018
}
19+

sapi/phpdbg/phpdbg_watch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ static void phpdbg_print_changed_zval(phpdbg_watch_memdump *dump TSRMLS_DC) {
702702
}
703703
case WATCH_ON_HASHTABLE:
704704

705-
#ifdef ZEND_DEBUG
705+
#if ZEND_DEBUG
706706
if (watch->addr.ht->inconsistent) {
707707
phpdbg_notice("Watchpoint %s was unset, removing watchpoint", watch->str);
708708
zend_hash_del(&PHPDBG_G(watchpoints), watch->str, watch->str_len);

0 commit comments

Comments
 (0)