]> git.saurik.com Git - bison.git/commitdiff
[_MSC_VER]: Include stdlib.h and process.h.
authorRichard M. Stallman <rms@gnu.org>
Thu, 2 Jan 1997 07:03:45 +0000 (07:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 2 Jan 1997 07:03:45 +0000 (07:03 +0000)
[_MSC_VER] (getpid): Define as macro--translate it to _getpid.

src/system.h

index 5d332099c4b316b60f2f98fe2f049d1d43653dba..32ab2b9746c4d3ed11c043671b09196b5dc4fea8 100644 (file)
@@ -2,6 +2,12 @@
 #include <io.h>
 #endif
 
+#ifdef _MSC_VER
+#include <stdlib.h>
+#include <process.h>
+#define getpid _getpid
+#endif
+
 #if defined(HAVE_STDLIB_H) || defined(MSDOS)
 #include <stdlib.h>
 #endif