win32 configure

This commit is contained in:
bellard
2004-10-07 21:11:43 +00:00
parent c50af8399d
commit 13affef3f1
6 changed files with 92 additions and 51 deletions

3
tcc.c
View File

@ -34,6 +34,7 @@
#include <time.h>
#ifdef WIN32
#include <sys/timeb.h>
#define CONFIG_TCC_STATIC
#endif
#ifndef WIN32
#include <sys/time.h>
@ -85,13 +86,11 @@
#define TCC_TARGET_COFF
#endif
#if !defined(WIN32)
#define FALSE 0
#define false 0
#define TRUE 1
#define true 1
typedef int BOOL;
#endif
/* path to find crt1.o, crti.o and crtn.o. Only needed when generating
executables or dlls */