@@ -21,8 +21,6 @@
#ifndef LOVE_STRING_MAP_H
#define LOVE_STRING_MAP_H
-#include "Exception.h"
-
#include <string>
#include <vector>
@@ -25,7 +25,6 @@
// STD
#include <bitset>
-#include <vector>
namespace love
{
@@ -23,6 +23,8 @@
#ifdef LOVE_WINDOWS
+
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -34,6 +34,7 @@ extern "C" {
}
#endif // LOVE_WINDOWS
@@ -20,6 +20,7 @@
// LOVE
#include "CompressedData.h"
+#include "common/Exception.h"
@@ -22,6 +22,7 @@
#include "Compressor.h"
#include "common/config.h"
#include "common/int.h"
#include "libraries/lz4/lz4.h"
#include "libraries/lz4/lz4hc.h"
@@ -19,6 +19,7 @@
**/
#include "HashFunction.h"
// FIXME: Probably trivial by having tole and tobe functions, which can be ifdeffed to being identity functions
#ifdef LOVE_BIG_ENDIAN
@@ -30,6 +30,7 @@
#include "common/apple.h"
#include <unistd.h>
#elif defined(LOVE_WINDOWS)
#include <fileapi.h>
#include "common/utf8.h"
@@ -35,6 +35,7 @@
// Using this instead of boost::filesystem which totally
// cramped our style.
+# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# include <direct.h>
# include <initguid.h>
#include "CompressedImageData.h"
@@ -26,6 +26,8 @@
#include "common/pixelformat.h"
#include "CompressedSlice.h"
+#include <vector>
namespace image
@@ -32,6 +32,7 @@
#include <sstream>
@@ -23,6 +23,7 @@
// Module
#include "Body.h"
#include "World.h"
@@ -26,6 +26,7 @@
#include <iostream>
#if defined(LOVE_WINDOWS)
#elif defined(LOVE_MACOS) || defined(LOVE_IOS)
#include <mach/mach_time.h>
@@ -51,6 +51,7 @@
#endif
#include <dwmapi.h>
#include <VersionHelpers.h>