com php-src: windows: phpdbg.h
| From: | Bob Weinand | Date: | Tue, 12 Nov 2013 12:10:53 +0000 |
| Subject: | com php-src: windows: phpdbg.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75072@lists.php.net to get a copy of this message | ||
Commit: 6cc7a5784eed6fe24e9fa4982d0c01cc463d8355
Author: krakjoe <joe.watkins@live.co.uk> Tue, 12 Nov 2013 12:10:53 +0000
Parents: 7f743e1fca1773a8e5deaac079386c9a8b731601
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6cc7a5784eed6fe24e9fa4982d0c01cc463d8355
Log:
windows
Changed paths:
M phpdbg.h
Diff:
diff --git a/phpdbg.h b/phpdbg.h
index 34b2e56..83b93fe 100644
--- a/phpdbg.h
+++ b/phpdbg.h
@@ -30,7 +30,17 @@
#include "zend_ini_scanner.h"
#include "zend_stream.h"
#include "SAPI.h"
-#include <php_config.h>
+#include <fcntl.h>
+#include <sys/types.h>
+#if defined(_WIN32) && !defined(__MINGW32__)
+# include <windows.h>
+# include "config.w32.h"
+#else
+# include "php_config.h"
+#endif
+#ifndef O_BINARY
+# define O_BINARY 0
+#endif
#include "php_main.h"
#ifdef ZTS