]> granicus.if.org Git - php/commitdiff
- don't redefine WINDOWS and pid_t
authorPierre Joye <pajoye@php.net>
Sat, 5 Jul 2008 18:50:10 +0000 (18:50 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 5 Jul 2008 18:50:10 +0000 (18:50 +0000)
main/win95nt.h

index 76f98694dfcefa8cfde15aae573af1ece3853f91..57508be9177a07fc5e6d7b083f8cd29253f9fdb6 100644 (file)
@@ -52,7 +52,7 @@ typedef char * caddr_t;
 #define off_t          _off_t
 typedef unsigned int uint;
 typedef unsigned long ulong;
-#if !NSAPI
+#if !NSAPI && !defined(pid_t)
 typedef long pid_t;
 #endif
 
@@ -72,7 +72,9 @@ typedef long pid_t;
 #endif
 
 /* General Windows stuff */
-#define WINDOWS 1
+#ifndef WINDOWS
+# define WINDOWS 1
+#endif
 
 /* Prevent use of VC5 OpenFile function */
 #define NOOPENFILE