summaryrefslogtreecommitdiff
path: root/ext/standard/dl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/dl.c')
-rw-r--r--ext/standard/dl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c
index a315b3663a..2d6431b47c 100644
--- a/ext/standard/dl.c
+++ b/ext/standard/dl.c
@@ -33,7 +33,7 @@
#else
#include <strings.h>
#endif
-#if PHP_WIN32
+#ifdef PHP_WIN32
#include "win32/param.h"
#include "win32/winutil.h"
#else
@@ -113,7 +113,7 @@ void php_dl(pval *file,int type,pval *return_value)
} else {
error_type = E_CORE_ERROR;
}
-#if PHP_WIN32
+#ifdef PHP_WIN32
php_error(error_type,"Unable to load dynamic library '%s'<br>\n%s",libpath,php_win_err());
#else
php_error(error_type,"Unable to load dynamic library '%s' - %s",libpath,dlerror());