2006-07-24 16:58:59 +00:00
|
|
|
#define _POSIX_
|
|
|
|
#include <windows.h>
|
|
|
|
#include <io.h>
|
|
|
|
#include <fcntl.h>
|
2008-05-21 09:27:41 +00:00
|
|
|
#include <string.h>
|
|
|
|
#include <zconf.h>
|
|
|
|
|
|
|
|
#ifndef strcasecmp
|
|
|
|
# define strcmpi _strcmpi
|
|
|
|
#endif
|
2006-07-24 16:58:59 +00:00
|
|
|
|
|
|
|
#ifndef ssize_t
|
|
|
|
# define ssize_t SSIZE_T
|
|
|
|
#endif
|
2008-05-21 09:27:41 +00:00
|
|
|
|
2006-07-24 16:58:59 +00:00
|
|
|
#ifndef mode_t
|
|
|
|
# define mode_t int
|
|
|
|
#endif
|
2008-05-21 09:27:41 +00:00
|
|
|
|
2006-07-24 16:58:59 +00:00
|
|
|
#ifndef snprintf
|
|
|
|
# define snprintf _snprintf
|
|
|
|
#endif
|
2008-05-21 09:27:41 +00:00
|
|
|
|
2006-07-24 16:58:59 +00:00
|
|
|
#ifndef mkstemp
|
|
|
|
# define mkstemp(t) _creat(_mktemp(t), _S_IREAD|_S_IWRITE)
|
|
|
|
#endif
|
|
|
|
/*
|
|
|
|
#ifndef fseeko
|
|
|
|
# define fseeko fseek
|
|
|
|
#endif
|
|
|
|
*/
|