Support VS2008

This commit is contained in:
tomcw 2016-03-21 22:27:09 +00:00
parent 4886b5daea
commit e03b90fbe8
2 changed files with 19 additions and 1 deletions

View File

@ -846,6 +846,18 @@
RelativePath=".\source\Frame.h"
>
</File>
<File
RelativePath=".\source\NTSC.cpp"
>
</File>
<File
RelativePath=".\source\NTSC.h"
>
</File>
<File
RelativePath=".\source\NTSC_CharSet.h"
>
</File>
<File
RelativePath=".\source\Video.cpp"
>

View File

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