summaryrefslogtreecommitdiffstats
path: root/Tools/ToLuaDoxy/Globals.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-12-22 20:50:42 +0100
committerAlexander Harkness <me@bearbin.net>2015-12-22 20:55:00 +0100
commit16d0bc10a4fd22c52f1f80b591a2684990def63f (patch)
tree1404e819955fef17af72bf1d8471e1b749a68639 /Tools/ToLuaDoxy/Globals.h
parentMerge pull request #2796 from cuberite/MojangCert (diff)
downloadcuberite-16d0bc10a4fd22c52f1f80b591a2684990def63f.tar
cuberite-16d0bc10a4fd22c52f1f80b591a2684990def63f.tar.gz
cuberite-16d0bc10a4fd22c52f1f80b591a2684990def63f.tar.bz2
cuberite-16d0bc10a4fd22c52f1f80b591a2684990def63f.tar.lz
cuberite-16d0bc10a4fd22c52f1f80b591a2684990def63f.tar.xz
cuberite-16d0bc10a4fd22c52f1f80b591a2684990def63f.tar.zst
cuberite-16d0bc10a4fd22c52f1f80b591a2684990def63f.zip
Diffstat (limited to 'Tools/ToLuaDoxy/Globals.h')
-rw-r--r--Tools/ToLuaDoxy/Globals.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/Tools/ToLuaDoxy/Globals.h b/Tools/ToLuaDoxy/Globals.h
index b9100a297..869cf0afd 100644
--- a/Tools/ToLuaDoxy/Globals.h
+++ b/Tools/ToLuaDoxy/Globals.h
@@ -9,17 +9,17 @@
// OS-dependent stuff:
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
-
+
#define _WIN32_WINNT 0x501 // We want to target WinXP and higher
-
+
#include <Windows.h>
#include <winsock2.h>
#include <Ws2tcpip.h> // IPv6 stuff
-
+
// Windows SDK defines min and max macros, messing up with our std::min and std::max usage
#undef min
#undef max
-
+
// Windows SDK defines GetFreeSpace as a constant, probably a Win16 API remnant
#ifdef GetFreeSpace
#undef GetFreeSpace
@@ -43,10 +43,6 @@
#include <semaphore.h>
#include <errno.h>
#include <fcntl.h>
-
- #if !defined(ANDROID_NDK)
- #include <tr1/memory>
- #endif
#endif
@@ -95,7 +91,3 @@
#define MiB * 1024 * 1024
#define ASSERT assert
-
-
-
-