win32.h

fbmuck-6.01/include/win32.h · 418 B

From the archive fbmuck-6.01.tar.gz

Download the archive   « Back to the archive contents

#include <winsock2.h>
#include <process.h>
#include <direct.h>
#pragma warning( disable : 4244 4101 4018 )

extern int gettimeofday(struct timeval *tv, struct timezone *tz);
extern void sync(void);
extern void set_console();
extern void check_console();
#define close(x) closesocket(x)
#define chdir _chdir
#define getpid _getpid
#define strncasecmp _strnicmp
#define vsnprintf _vsnprintf
#define snprintf _snprintf


Site Stats

Snippets: 1791
Codebases: 571