summaryrefslogtreecommitdiff
path: root/sapi/phpdbg
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2017-04-10 14:47:24 +0800
committerXinchen Hui <laruence@gmail.com>2017-04-10 14:47:24 +0800
commit4bebcb84ad47e687fc3ef3a01b875aa04dfb72d0 (patch)
treeceffd46146f8a14f0fc69099ec3f829a9a6da8c0 /sapi/phpdbg
parent66411ee62ee8bd5e015c901092014dd9229fca01 (diff)
downloadphp-git-4bebcb84ad47e687fc3ef3a01b875aa04dfb72d0.tar.gz
Fixed condition check
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index 0b4e69ca0e..9fe4fc7885 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -1257,7 +1257,7 @@ PHPDBG_API const char *phpdbg_load_module_or_extension(char **path, char **name)
handle = DL_LOAD(*path);
if (!handle) {
-#if PHP_WIN32
+#ifdef PHP_WIN32
char *err = GET_DL_ERROR();
if (err && err[0]) {
phpdbg_error("dl", "type=\"unknown\"", "%s", err);