diff options
author | Johannes Schickel | 2016-03-13 19:17:40 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-13 20:44:04 +0100 |
commit | 075bde796e73bc169fd5c767db450225d8be0167 (patch) | |
tree | 7b4a5439e1bec381c7d7e6e3b03f0265355417a6 | |
parent | b9b3d4557c68ebda57a5ac66fcb2ea6a5ed3d92d (diff) | |
download | scummvm-rg350-075bde796e73bc169fd5c767db450225d8be0167.tar.gz scummvm-rg350-075bde796e73bc169fd5c767db450225d8be0167.tar.bz2 scummvm-rg350-075bde796e73bc169fd5c767db450225d8be0167.zip |
WIN32: Silence warning in AudioCD code.
-rw-r--r-- | backends/audiocd/win32/win32-audiocd.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/audiocd/win32/win32-audiocd.cpp b/backends/audiocd/win32/win32-audiocd.cpp index dc9465e185..6258802377 100644 --- a/backends/audiocd/win32/win32-audiocd.cpp +++ b/backends/audiocd/win32/win32-audiocd.cpp @@ -42,6 +42,10 @@ * */ +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#undef ARRAYSIZE // winnt.h defines ARRAYSIZE, but we want our own one... + #include "backends/audiocd/win32/win32-audiocd.h" #include "audio/audiostream.h" @@ -55,9 +59,6 @@ #include "common/str.h" #include "common/timer.h" -#define WIN32_LEAN_AND_MEAN -#include <windows.h> - #ifdef _MSC_VER #include <winioctl.h> #include <ntddcdrm.h> |