From 045b583141cb0efb0c50aec203fef90a3b912563 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 13 Mar 2016 19:18:39 +0100 Subject: WIN32: Guard AudioCD code by WIN32 check. --- backends/audiocd/win32/win32-audiocd.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 #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 -- cgit v1.2.3