aboutsummaryrefslogtreecommitdiff
path: root/backends/audiocd
diff options
context:
space:
mode:
authorJohannes Schickel2016-03-13 19:18:39 +0100
committerJohannes Schickel2016-03-13 20:44:04 +0100
commit045b583141cb0efb0c50aec203fef90a3b912563 (patch)
tree7ed2e0195546f8c06254e41ab6fb225ebf7edd82 /backends/audiocd
parent075bde796e73bc169fd5c767db450225d8be0167 (diff)
downloadscummvm-rg350-045b583141cb0efb0c50aec203fef90a3b912563.tar.gz
scummvm-rg350-045b583141cb0efb0c50aec203fef90a3b912563.tar.bz2
scummvm-rg350-045b583141cb0efb0c50aec203fef90a3b912563.zip
WIN32: Guard AudioCD code by WIN32 check.
Diffstat (limited to 'backends/audiocd')
-rw-r--r--backends/audiocd/win32/win32-audiocd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/audiocd/win32/win32-audiocd.cpp b/backends/audiocd/win32/win32-audiocd.cpp
index 6258802377..64a7a1b9ec 100644
--- a/backends/audiocd/win32/win32-audiocd.cpp
+++ b/backends/audiocd/win32/win32-audiocd.cpp
@@ -42,6 +42,8 @@
*
*/
+#ifdef WIN32
+
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef ARRAYSIZE // winnt.h defines ARRAYSIZE, but we want our own one...
@@ -375,3 +377,5 @@ bool Win32AudioCDManager::tryAddDrive(char drive, DriveList &drives) {
AudioCDManager *createWin32AudioCDManager() {
return new Win32AudioCDManager();
}
+
+#endif // WIN32 \ No newline at end of file