Only use stdint.h for VS2010 or greater.

This commit is contained in:
tomcw 2015-05-28 21:26:00 +01:00
parent b1395b8adb
commit 1f566088af

View File

@ -25,7 +25,10 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
#if _MSC_VER >= 1600 // <stdint.h> supported from VS2010 (cl.exe v16.00)
#include <stdint.h> // cleanup WORD DWORD -> uint16_t uint32_t
#else
#endif
#include <windows.h>
#include <winuser.h> // WM_MOUSEWHEEL