win32-fix compiling in old windows and old visual studio
This commit is contained in:
parent
c020a6bf39
commit
eca6e6e279
|
@ -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")
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
>
|
||||
|
|
|
@ -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"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue