@@ -17,6 +17,7 @@ | |||||
#if defined(_WIN32) | #if defined(_WIN32) | ||||
# define WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | ||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
#endif | #endif | ||||
#if defined(__ANDROID__) | #if defined(__ANDROID__) | ||||
@@ -17,6 +17,7 @@ | |||||
#if defined(_WIN32) | #if defined(_WIN32) | ||||
# define WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | ||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
#endif | #endif | ||||
#include <cstdarg> | #include <cstdarg> | ||||
@@ -18,8 +18,9 @@ | |||||
# if defined USE_D3D9 | # if defined USE_D3D9 | ||||
# include <d3d9.h> | # include <d3d9.h> | ||||
# endif | # endif | ||||
# define WIN32_LEAN_AND_MEAN | |||||
# define WIN32_LEAN_AND_MEAN 1 | |||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
# undef near /* Fuck Microsoft */ | # undef near /* Fuck Microsoft */ | ||||
# undef far /* Fuck Microsoft again */ | # undef far /* Fuck Microsoft again */ | ||||
#endif | #endif | ||||
@@ -16,8 +16,9 @@ | |||||
#include <cstdio> | #include <cstdio> | ||||
#if defined _WIN32 | #if defined _WIN32 | ||||
# define WIN32_LEAN_AND_MEAN | |||||
# define WIN32_LEAN_AND_MEAN 1 | |||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
# if defined USE_D3D9 | # if defined USE_D3D9 | ||||
# include <algorithm> | # include <algorithm> | ||||
using std::min; | using std::min; | ||||
@@ -16,6 +16,14 @@ | |||||
#include <cstdlib> | #include <cstdlib> | ||||
#if defined _WIN32 | |||||
# define WIN32_LEAN_AND_MEAN 1 | |||||
# include <windows.h> | |||||
# undef WIN32_LEAN_AND_MEAN | |||||
# undef near /* Fuck Microsoft */ | |||||
# undef far /* Fuck Microsoft again */ | |||||
#endif | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -18,6 +18,7 @@ | |||||
#if defined(_WIN32) | #if defined(_WIN32) | ||||
# define WIN32_LEAN_AND_MEAN 1 | # define WIN32_LEAN_AND_MEAN 1 | ||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
#endif | #endif | ||||
#include "lolgl.h" | #include "lolgl.h" | ||||
@@ -18,6 +18,7 @@ | |||||
#if defined(_WIN32) | #if defined(_WIN32) | ||||
# define WIN32_LEAN_AND_MEAN 1 | # define WIN32_LEAN_AND_MEAN 1 | ||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
#else | #else | ||||
# include <dirent.h> | # include <dirent.h> | ||||
#endif | #endif | ||||
@@ -21,6 +21,7 @@ | |||||
#if _WIN32 | #if _WIN32 | ||||
# define WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | ||||
# include <direct.h> | # include <direct.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
#endif | #endif | ||||
namespace lol | namespace lol | ||||
@@ -20,6 +20,7 @@ | |||||
#elif _WIN32 | #elif _WIN32 | ||||
# define WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | ||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
#elif HAVE_SDL_SDL_H | #elif HAVE_SDL_SDL_H | ||||
# include <SDL/SDL.h> | # include <SDL/SDL.h> | ||||
#else | #else | ||||
@@ -17,6 +17,7 @@ | |||||
#if defined _WIN32 | #if defined _WIN32 | ||||
# define WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | ||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
# if defined USE_D3D9 | # if defined USE_D3D9 | ||||
# define FAR | # define FAR | ||||
# define NEAR | # define NEAR | ||||
@@ -19,6 +19,7 @@ | |||||
#if defined _WIN32 | #if defined _WIN32 | ||||
# define WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | ||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
# if defined USE_D3D9 | # if defined USE_D3D9 | ||||
# define FAR | # define FAR | ||||
# define NEAR | # define NEAR | ||||
@@ -16,6 +16,7 @@ | |||||
# endif | # endif | ||||
# define WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | ||||
# include <windows.h> | # include <windows.h> | ||||
# undef WIN32_LEAN_AND_MEAN | |||||
# undef near /* Fuck Microsoft */ | # undef near /* Fuck Microsoft */ | ||||
# undef far /* Fuck Microsoft again */ | # undef far /* Fuck Microsoft again */ | ||||
#endif | #endif | ||||