Author: post
Date: 2010-04-24 16:55:02 +0200 (Sat, 24 Apr 2010)
New Revision: 220

Modified:
   RawSpeed/FileReader.cpp
   RawSpeed/StdAfx.h
Log:
Move unicode definition for mingw into precompiled header.

Modified: RawSpeed/FileReader.cpp
===================================================================
--- RawSpeed/FileReader.cpp     2010-04-24 14:51:12 UTC (rev 219)
+++ RawSpeed/FileReader.cpp     2010-04-24 14:55:02 UTC (rev 220)
@@ -1,7 +1,3 @@
-#ifdef __MINGW32__
-#define UNICODE
-#define _WIN32_WINNT 0x0501
-#endif
 #include "StdAfx.h"
 #include "FileReader.h"
 #ifdef __unix__

Modified: RawSpeed/StdAfx.h
===================================================================
--- RawSpeed/StdAfx.h   2010-04-24 14:51:12 UTC (rev 219)
+++ RawSpeed/StdAfx.h   2010-04-24 14:55:02 UTC (rev 220)
@@ -23,6 +23,10 @@
 
 #pragma once
 
+#if defined(__MINGW32__)
+#define UNICODE
+#define _WIN32_WINNT 0x0501
+#endif
 
 #define WIN32_LEAN_AND_MEAN            // Exclude rarely-used stuff from 
Windows headers
 #include <stdio.h>


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to