Fix NeL Tools compile under MinGW

hg/feature/game-device
kaetemi 11 years ago
parent 43be0fd2a5
commit 401d4bc791

@ -38,7 +38,9 @@
#include "nel/3d/event_mouse_listener.h" #include "nel/3d/event_mouse_listener.h"
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
# define NOMINMAX # ifndef NL_COMP_MINGW
# define NOMINMAX
# endif
# include <windows.h> # include <windows.h>
#endif // NL_OS_WINDOWS #endif // NL_OS_WINDOWS

@ -20,7 +20,9 @@
#include "shapes_exporter.h" #include "shapes_exporter.h"
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
# define NOMINMAX # ifndef NL_COMP_MINGW
# define NOMINMAX
# endif
# include <windows.h> # include <windows.h>
#endif // NL_OS_WINDOWS #endif // NL_OS_WINDOWS

@ -41,8 +41,10 @@
#include <nel/3d/height_map.h> #include <nel/3d/height_map.h>
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
#define NOMINMAX # ifndef NL_COMP_MINGW
#include <windows.h> # define NOMINMAX
# endif
# include <windows.h>
#endif // NL_OS_WINDOWS #endif // NL_OS_WINDOWS
using namespace std; using namespace std;

Loading…
Cancel
Save