Subject: | Support for mingw-w64 gcc compiler (MS Windows) |
Hi
I would like to propose the following simple patch that is needed for building with mingw-w64.sf.net gcc compiler (technically it is a competitor to gcc compiler from mingw.org project - the main advantage is that mingw-w64 delivers both 32/64-bit compilers).
The patch is related to "src\msw\mslu.cpp" (both wxWidgets-2.8.10 and wxWidgets-2.9.0):
- #ifdef __VISUALC__
+ #if defined(__VISUALC__) || defined(__MINGW64_VERSION_MAJOR)
#include <direct.h>
#endif
The reason for this patch is that functions _mkdir and _rmdir that are defined in different *.h files in mingw.org'c runtime vs. mingw-w64.sf.net's runtime.
--
kmx
I would like to propose the following simple patch that is needed for building with mingw-w64.sf.net gcc compiler (technically it is a competitor to gcc compiler from mingw.org project - the main advantage is that mingw-w64 delivers both 32/64-bit compilers).
The patch is related to "src\msw\mslu.cpp" (both wxWidgets-2.8.10 and wxWidgets-2.9.0):
- #ifdef __VISUALC__
+ #if defined(__VISUALC__) || defined(__MINGW64_VERSION_MAJOR)
#include <direct.h>
#endif
The reason for this patch is that functions _mkdir and _rmdir that are defined in different *.h files in mingw.org'c runtime vs. mingw-w64.sf.net's runtime.
--
kmx