very minor compile speed improvements

This commit is contained in:
Sasha Szpakowski
2023-02-11 16:29:24 -04:00
parent ee96b6fa68
commit 95d44c2c2d
15 changed files with 15 additions and 3 deletions
-2
View File
@@ -21,8 +21,6 @@
#ifndef LOVE_STRING_MAP_H
#define LOVE_STRING_MAP_H
#include "Exception.h"
#include <string>
#include <vector>
-1
View File
@@ -25,7 +25,6 @@
// STD
#include <bitset>
#include <vector>
namespace love
{
+2
View File
@@ -23,6 +23,8 @@
#ifdef LOVE_WINDOWS
#include <string>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
namespace love
+1
View File
@@ -34,6 +34,7 @@ extern "C" {
}
#ifdef LOVE_WINDOWS
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif // LOVE_WINDOWS
+1
View File
@@ -20,6 +20,7 @@
// LOVE
#include "CompressedData.h"
#include "common/Exception.h"
namespace love
{
+1
View File
@@ -22,6 +22,7 @@
#include "Compressor.h"
#include "common/config.h"
#include "common/int.h"
#include "common/Exception.h"
#include "libraries/lz4/lz4.h"
#include "libraries/lz4/lz4hc.h"
+1
View File
@@ -19,6 +19,7 @@
**/
#include "HashFunction.h"
#include "common/Exception.h"
// FIXME: Probably trivial by having tole and tobe functions, which can be ifdeffed to being identity functions
#ifdef LOVE_BIG_ENDIAN
+1
View File
@@ -30,6 +30,7 @@
#include "common/apple.h"
#include <unistd.h>
#elif defined(LOVE_WINDOWS)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <fileapi.h>
#include "common/utf8.h"
@@ -35,6 +35,7 @@
// Using this instead of boost::filesystem which totally
// cramped our style.
#ifdef LOVE_WINDOWS
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# include <direct.h>
# include <initguid.h>
@@ -19,6 +19,7 @@
**/
#include "CompressedImageData.h"
#include "common/Exception.h"
namespace love
{
+2
View File
@@ -26,6 +26,8 @@
#include "common/pixelformat.h"
#include "CompressedSlice.h"
#include <vector>
namespace love
{
namespace image
+1
View File
@@ -32,6 +32,7 @@
#include <sstream>
#ifdef LOVE_WINDOWS
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif // LOVE_WINDOWS
+1
View File
@@ -23,6 +23,7 @@
// Module
#include "Body.h"
#include "World.h"
#include "common/Exception.h"
namespace love
{
+1
View File
@@ -26,6 +26,7 @@
#include <iostream>
#if defined(LOVE_WINDOWS)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#elif defined(LOVE_MACOS) || defined(LOVE_IOS)
#include <mach/mach_time.h>
+1
View File
@@ -51,6 +51,7 @@
#endif
#if defined(LOVE_WINDOWS)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <dwmapi.h>
#include <VersionHelpers.h>