Added support for compiling under Minix 3.1.3 using ACK.

This commit is contained in:
Dan Fandrich
2007-05-17 06:04:44 +00:00
parent 09fd3b4935
commit 0427e94465
4 changed files with 44 additions and 9 deletions

View File

@@ -259,6 +259,12 @@
#define sclose(x) CloseSocket(x)
#endif
#ifdef __minix
/* Minix 3 versions up to at least 3.1.3 are missing these prototypes */
extern char * strtok_r(char *s, const char *delim, char **last);
extern struct tm * gmtime_r(const time_t * const timep, struct tm *tmp);
#endif
#define DIR_CHAR "/"
#ifndef DOT_CHAR
#define DOT_CHAR "."