Author: al
Date: 2010-05-26 16:51:11 +0200 (Wed, 26 May 2010)
New Revision: 236

Modified:
   RawSpeed/StdAfx.h
Log:
Fixed MinGW compile.

Modified: RawSpeed/StdAfx.h
===================================================================
--- RawSpeed/StdAfx.h   2010-05-26 14:39:04 UTC (rev 235)
+++ RawSpeed/StdAfx.h   2010-05-26 14:51:11 UTC (rev 236)
@@ -25,6 +25,7 @@
 
 #if defined(__MINGW32__)
 #define UNICODE
+#undef _WIN32_WINNT
 #define _WIN32_WINNT 0x0501
 #endif
 
@@ -36,6 +37,8 @@
 #include <Windows.h>
 #ifndef __MINGW32__
 #include <crtdbg.h>
+#else
+#include <stdexcept>
 #endif
 #else // if unix
 #include <stdarg.h>


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

Reply via email to