History

win32: fix for VC8Express compiler

grischka committed 17 years ago

Commit b41fc951 parent 00f09321 file · +7 −2Browse files

Unified · Split

tcc.c+7−2
@@ -33,16 +33,21 @@ · 32 unmodified lines
3333 #include <string.h>
3434 #include <errno.h>
3535 #include <math.h>
36−#include <unistd.h>
3736 #include <signal.h>
3837 #include <fcntl.h>
3938 #include <setjmp.h>
4039 #include <time.h>
40+
4141 #ifdef _WIN32
42−#include <sys/timeb.h>
4342 #include <windows.h>
43+#include <sys/timeb.h>
44+#ifdef _MSC_VER
45+#define inline __inline
4446 #endif
47+#endif
48+
4549 #ifndef _WIN32
50+#include <unistd.h>
4651 #include <sys/time.h>
4752 #include <sys/ucontext.h>
4853 #include <sys/mman.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t