summaryrefslogtreecommitdiff
path: root/ext/standard/flock_compat.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-02-11 15:59:30 +0000
committerZeev Suraski <zeev@php.net>2000-02-11 15:59:30 +0000
commit80bdd19e031ca0dac2dfd4cb62ff43558d477663 (patch)
tree539fd5059d50e32acf9b991354d48cbcecb16426 /ext/standard/flock_compat.h
parent80f4886c5a71b0cdc4a3159297160e30ddd298cb (diff)
downloadphp-git-80bdd19e031ca0dac2dfd4cb62ff43558d477663.tar.gz
Fine tune Andi's patch
Diffstat (limited to 'ext/standard/flock_compat.h')
-rw-r--r--ext/standard/flock_compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/flock_compat.h b/ext/standard/flock_compat.h
index bf927c4ae1..002c046069 100644
--- a/ext/standard/flock_compat.h
+++ b/ext/standard/flock_compat.h
@@ -9,10 +9,10 @@
int flock(int fd, int operation);
#endif
-#if PHP_WIN32
+#ifdef PHP_WIN32
# define fsync _commit
# define ftruncate chsize
-#endif /* PHP_WIN32 */
+#endif /* defined(PHP_WIN32) */
#if !HAVE_INET_ATON
#if HAVE_NETINET_IN_H