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

@@ -22,13 +22,22 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifdef __MINGW32__
#define __WINDOWS__ 1
#endif
#ifdef __WINDOWS__
#include <uxnt.h>
#ifdef __MINGW32__
#include "config.h"
#include <windows.h>
#else
#ifdef WIN64
#define MD "config/win64.h"
#else
#define MD "config/win32.h"
#endif
#endif
#include <winsock2.h>
#include "pl-mswchar.h"
#define CRLF_MAPPING 1