X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest.cpp;h=142918df622edd414b42a7788cd010b32fb3af5a;hb=699d0e9a5efa555f4b4c7652a0ca571acf0afdb2;hp=3ed6425120f60b81e32d88582ec26cb433c48d3d;hpb=240499dc2c766c9d022e6df71e770a116a2c95de;p=minetest.git diff --git a/src/test.cpp b/src/test.cpp index 3ed642512..142918df6 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -30,14 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "serialization.h" #include "voxel.h" #include - -#ifdef _WIN32 - #include - #define sleep_ms(x) Sleep(x) -#else - #include - #define sleep_ms(x) usleep(x*1000) -#endif +#include "porting.h" /* Asserts that the exception occurs