]> git.pond.sub.org Git - empserver/commitdiff
(ssize_t, pid_t) [_WIN32]: Back out the previous revision of unistd.h
authorRon Koenderink <rkoenderink@yahoo.ca>
Thu, 16 Aug 2007 03:03:22 +0000 (03:03 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Thu, 16 Aug 2007 03:03:22 +0000 (03:03 +0000)
and move to w32misc.h instead.  Belong into sys/types.h but we can't
fix system headers.

src/lib/w32/unistd.h
src/lib/w32/w32misc.h

index eac9220c24b4faa69aa30fdd77e51578ee0fe0b1..43c8a8d5cda0302bdeca6fe57d3ab66b7639997f 100644 (file)
@@ -38,9 +38,6 @@
 #include "getopt.h"
 #include <sys/stat.h>
 
-typedef long ssize_t;
-typedef int pid_t;
-
 /*
  * posixfile.c
  */
index 26fd78e80fb0c18fcbe54f67e39107e8469d2e0a..2faa1976ba963949bf9ff562f46cdb2cffc31e9f 100644 (file)
@@ -47,6 +47,9 @@
 #define random rand
 #define srandom srand
 
+typedef long ssize_t;
+typedef int pid_t;
+
 /*
  * strptime.c
  */