Explorar o código

[MinGW]FL build fix

AlexVinS %!s(int64=11) %!d(string=hai) anos
pai
achega
5e42fb8a2a
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      AI/FuzzyLite/fuzzylite/src/Exception.cpp

+ 3 - 1
AI/FuzzyLite/fuzzylite/src/Exception.cpp

@@ -34,8 +34,10 @@
 #elif defined FL_WINDOWS
 #elif defined FL_WINDOWS
 #include <windows.h>
 #include <windows.h>
 #include <winbase.h>
 #include <winbase.h>
+#ifndef __MINGW32__
 #include <dbghelp.h>
 #include <dbghelp.h>
 #endif
 #endif
+#endif
 
 
 
 
 #include <signal.h>
 #include <signal.h>
@@ -108,7 +110,7 @@ namespace fl {
         return btStream.str();
         return btStream.str();
 
 
 
 
-#elif defined FL_WINDOWS
+#elif defined FL_WINDOWS && ! defined __MINGW32__
         std::ostringstream btStream;
         std::ostringstream btStream;
         const int bufferSize = 30;
         const int bufferSize = 30;
         void* buffer[bufferSize];
         void* buffer[bufferSize];