summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-30 00:11:37 +0000
committerMarcus Boerger <helly@php.net>2003-05-30 00:11:37 +0000
commit6ddd6ca2be7c04aea2e0d4657513cab2d24374da (patch)
tree901e72ce192d68a74da814451696bc218da1cc12 /sapi/cli/php_cli.c
parent5b32cdc5a021f980a49c971e7bc8f78a20a064b5 (diff)
downloadphp-git-6ddd6ca2be7c04aea2e0d4657513cab2d24374da.tar.gz
MFB
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 89e1ab3e66..af357235b0 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -77,6 +77,10 @@
#include "php_getopt.h"
+#ifndef O_BINARY
+#define O_BINARY 0
+#endif
+
#define PHP_MODE_STANDARD 1
#define PHP_MODE_HIGHLIGHT 2
#define PHP_MODE_INDENT 3