]> git.lizzy.rs Git - minetest.git/blobdiff - src/test.cpp
minecraft-like crafting
[minetest.git] / src / test.cpp
index 3ed6425120f60b81e32d88582ec26cb433c48d3d..142918df622edd414b42a7788cd010b32fb3af5a 100644 (file)
@@ -30,14 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "serialization.h"
 #include "voxel.h"
 #include <sstream>
-
-#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"
 
 /*
        Asserts that the exception occurs