summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorJames Moore <jmoore@php.net>2001-11-10 17:24:02 +0000
committerJames Moore <jmoore@php.net>2001-11-10 17:24:02 +0000
commit4f787370005411d9ebc4a5a6c2a6f65084cfe68a (patch)
tree5f3c0ab3e8db92c09411efb7bd40950f5f25e86d /ext/standard
parente202deaec47a538568d18ca13c283e617ed2afd9 (diff)
downloadphp-git-4f787370005411d9ebc4a5a6c2a6f65084cfe68a.tar.gz
Fix apache win32 dso build.
(This is untested on linux but shouldnt break anything)
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/basic_functions.c2
-rw-r--r--ext/standard/file.c2
-rw-r--r--ext/standard/file.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index bed3596a8b..83b3f73768 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -576,7 +576,7 @@ function_entry basic_functions[] = {
PHP_FE(pclose, NULL)
PHP_FE(popen, NULL)
PHP_FE(readfile, NULL)
-#if HAVE_MMAP
+#ifdef HAVE_MMAP
PHP_FE(mmapfile, NULL)
#endif
PHP_FE(rewind, NULL)
diff --git a/ext/standard/file.c b/ext/standard/file.c
index e4b91526ba..8669dfb099 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -1634,7 +1634,7 @@ PHP_FUNCTION(readfile)
/* }}} */
-#if HAVE_MMAP
+#ifdef HAVE_MMAP
/* {{{ proto string mmapfile (string filename [, int bytes_to_read])
Read a file into a variable with mmap */
diff --git a/ext/standard/file.h b/ext/standard/file.h
index 853cf1342f..d9598ff118 100644
--- a/ext/standard/file.h
+++ b/ext/standard/file.h
@@ -48,7 +48,7 @@ PHP_FUNCTION(mkdir);
PHP_FUNCTION(rmdir);
PHP_FUNCTION(fpassthru);
PHP_FUNCTION(readfile);
-#if HAVE_MMAP
+#ifdef HAVE_MMAP
PHP_FUNCTION(mmapfile);
#endif
PHP_FUNCTION(umask);