cvs: php-src /main php.h
| From: | Kalle Sommer Nielsen | Date: | Tue, 24 Jun 2008 05:59:11 +0000 |
| Subject: | cvs: php-src /main php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50606@lists.php.net to get a copy of this message | ||
kalle Tue Jun 24 05:59:11 2008 UTC
Modified files:
/php-src/main php.h
Log:
Fix build on Windows NT6
http://cvs.php.net/viewvc.cgi/php-src/main/php.h?r1=1.243&r2=1.244&diff_format=u
Index: php-src/main/php.h
diff -u php-src/main/php.h:1.243 php-src/main/php.h:1.244
--- php-src/main/php.h:1.243 Sat Mar 8 22:17:32 2008
+++ php-src/main/php.h Tue Jun 24 05:59:11 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.243 2008/03/08 22:17:32 colder Exp $ */
+/* $Id: php.h,v 1.244 2008/06/24 05:59:11 kalle Exp $ */
#ifndef PHP_H
#define PHP_H
@@ -54,6 +54,12 @@
# endif
# define PHP_DIR_SEPARATOR '\\'
# define PHP_EOL "\r\n"
+# if defined(NTDDI_VERSION) && NTDDI_VERSION >= 0x06000000
+# undef NTDDI_VERSION
+# endif
+# ifndef NTDDI_VERSION
+# define NTDDI_VERSION 0x05000000
+# endif
#else
# if defined(__GNUC__) && __GNUC__ >= 4
# define PHPAPI __attribute__ ((visibility("default")))