improve SWI emulation in WIN32

This commit is contained in:
U-Khasa\Vitor
2009-07-20 20:56:16 -07:00
parent d67332dc19
commit d3fa43d08e
9 changed files with 1007 additions and 18 deletions

2
include/SWI-Stream.h Normal file → Executable file
View File

@@ -50,8 +50,8 @@ typedef __int64 int64_t;
#if (_MSC_VER < 1300) && !defined(__MINGW32__)
typedef long intptr_t;
typedef unsigned long uintptr_t;
#endif
typedef intptr_t ssize_t; /* signed version of size_t */
#endif
#else
#include <unistd.h>
#include <inttypes.h> /* more portable than stdint.h */