win32-fix compiling in old windows and old visual studio

This commit is contained in:
zeromus 2012-03-19 19:45:53 +00:00
parent c020a6bf39
commit eca6e6e279
4 changed files with 23 additions and 0 deletions

View File

@ -25,6 +25,7 @@ Piano Roll - Piano Roll interface
#include "taseditor_project.h"
#include "utils/xstring.h"
#include "uxtheme.h"
#include <math.h>
#pragma comment(lib, "UxTheme.lib")

View File

@ -28,6 +28,12 @@ Window - User Interface
#include "../keyboard.h"
#include "../joystick.h"
//compile for windows 2000 target
#if (_WIN32_WINNT < 0x501)
#define LVN_BEGINSCROLL (LVN_FIRST-80)
#define LVN_ENDSCROLL (LVN_FIRST-81)
#endif
extern TASEDITOR_CONFIG taseditor_config;
extern PLAYBACK playback;
extern GREENZONE greenzone;

View File

@ -2298,6 +2298,14 @@
RelativePath="..\src\drivers\win\taseditor\bookmarks.h"
>
</File>
<File
RelativePath="..\src\drivers\win\taseditor\editor.cpp"
>
</File>
<File
RelativePath="..\src\drivers\win\taseditor\editor.h"
>
</File>
<File
RelativePath="..\src\drivers\win\taseditor\greenzone.cpp"
>

View File

@ -1807,6 +1807,14 @@
RelativePath="..\src\drivers\win\taseditor\bookmarks.h"
>
</File>
<File
RelativePath="..\src\drivers\win\taseditor\editor.cpp"
>
</File>
<File
RelativePath="..\src\drivers\win\taseditor\editor.h"
>
</File>
<File
RelativePath="..\src\drivers\win\taseditor\greenzone.cpp"
>