diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-01 10:12:54 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-01 10:12:54 +0100 |
commit | bb49f0e021fb1fbefad44d944233fb1cf72c495c (patch) | |
tree | ebb0f2b40a3987eddf126c368237c0c60e4e6518 /source/Globals.h | |
parent | Fixed a sigsegv on *nix (cFile double-closing files) (diff) | |
download | cuberite-bb49f0e021fb1fbefad44d944233fb1cf72c495c.tar cuberite-bb49f0e021fb1fbefad44d944233fb1cf72c495c.tar.gz cuberite-bb49f0e021fb1fbefad44d944233fb1cf72c495c.tar.bz2 cuberite-bb49f0e021fb1fbefad44d944233fb1cf72c495c.tar.lz cuberite-bb49f0e021fb1fbefad44d944233fb1cf72c495c.tar.xz cuberite-bb49f0e021fb1fbefad44d944233fb1cf72c495c.tar.zst cuberite-bb49f0e021fb1fbefad44d944233fb1cf72c495c.zip |
Diffstat (limited to 'source/Globals.h')
-rw-r--r-- | source/Globals.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/Globals.h b/source/Globals.h index d4484e4c9..02559647d 100644 --- a/source/Globals.h +++ b/source/Globals.h @@ -28,6 +28,7 @@ #include <semaphore.h>
#include <errno.h>
#include <fcntl.h>
+ #include <memory.h>
#endif
@@ -42,6 +43,13 @@ +// Compatibility:
+#define ASSERT assert
+
+
+
+
+
// STL stuff:
#include <vector>
#include <list>
@@ -54,6 +62,7 @@ // Common headers:
+#include "StringUtils.h"
#include "cSleep.h"
#include "cCriticalSection.h"
#include "cSemaphore.h"
|