Code

fix build on win32 with LCMS_ENABLED
authorjohanengelen <johanengelen@users.sourceforge.net>
Sun, 27 Sep 2009 01:11:50 +0000 (01:11 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sun, 27 Sep 2009 01:11:50 +0000 (01:11 +0000)
src/color-profile.cpp

index 6e180ab4fe4f39c6e33c1ea01cc5c1bdcab4d2c3..37ebc4f30fe312da483855a8f6cc09440785053c 100644 (file)
 #include <string>
 
 #ifdef WIN32
-#ifndef _WIN32_WINDOWS         // Allow use of features specific to Windows 98 or later.
+#ifndef _WIN32_WINDOWS         // Allow use of features specific to Windows 98 or later. Required for correctly including icm.h
 #define _WIN32_WINDOWS 0x0410
 #endif
-#if ENABLE_LCMS
-#else
 #include <windows.h>
-#endif // ENABLE_LCMS
 #endif
 
 #include "xml/repr.h"