]> git.pond.sub.org Git - empserver/commitdiff
For w32misc.h add the POSIX equivalent include file for each
authorRon Koenderink <rkoenderink@yahoo.ca>
Thu, 16 Aug 2007 03:15:33 +0000 (03:15 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Thu, 16 Aug 2007 03:15:33 +0000 (03:15 +0000)
declaration.

src/lib/w32/w32misc.h

index 2faa1976ba963949bf9ff562f46cdb2cffc31e9f..caa32fdf605791147ad94577199fc902e950d18c 100644 (file)
 /* integral mismatch, due to misuse of sector short */
 #pragma warning (disable : 4761 )
 
+/* string.h */
 #define strncasecmp(s1, s2, s3) _strnicmp((s1), (s2), (s3))
 #endif /* !__GNUC__ */
 
+/* stdio.h */
 #define vsnprintf _vsnprintf
 #define snprintf _snprintf
+
+/* stdlib.h */
 #define random rand
 #define srandom srand
 
+/* sys/types.h */
 typedef long ssize_t;
 typedef int pid_t;
 
-/*
- * strptime.c
- */
+/* time.h */
 extern char *strptime(const char *buf, const char *fmt, struct tm *tm);
 #endif /* W32MISC_H */