aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 9a0952c75..839efbf5b 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -24,14 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "filesys.h"
#include "utility.h"
#include "voxel.h"
-
-#ifdef _WIN32
- #include <windows.h>
- #define sleep_ms(x) Sleep(x)
-#else
- #include <unistd.h>
- #define sleep_ms(x) usleep(x*1000)
-#endif
+#include "porting.h"
MapBlockPointerCache::MapBlockPointerCache(Map *map)
{