WIN32 fixes: work in progress.

This commit is contained in:
Vitor Santos Costa
2009-04-20 16:22:47 -05:00
parent 2c00c4a00b
commit 50207cb52a
7 changed files with 73 additions and 25 deletions

View File

@@ -32,14 +32,14 @@
#include <sys/_mbstate_t.h>
#endif
#if defined(_MSC_VER) && !defined(__WINDOWS__)
#if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(__WINDOWS__)
#define __WINDOWS__ 1
#endif
#include <stdarg.h>
#include <wchar.h>
#include <stddef.h>
#ifdef __WINDOWS__
#if defined(__WINDOWS__) && !defined(__MINGW32__)
typedef __int64 int64_t;
#if (_MSC_VER < 1300)
typedef long intptr_t;