From 020ff36af2c9f19527483af041a81e822b479e91 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 13 Aug 2013 17:45:40 +0100 Subject: [PATCH] YET ANOTHER ERROR >:( --- source/Piston.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Piston.cpp b/source/Piston.cpp index 0ebebfc9b..161f2b38c 100644 --- a/source/Piston.cpp +++ b/source/Piston.cpp @@ -128,7 +128,7 @@ void cPiston::ExtendPiston( int pistx, int pisty, int pistz ) AddDir(extx, exty, extz, pistonMeta & 7, 1) - #ifdef __WIN32__ + #ifdef _WIN32 Sleep(100); #else usleep(static_cast(100)*1000); @@ -178,7 +178,7 @@ void cPiston::RetractPiston( int pistx, int pisty, int pistz ) // These cannot be moved by the sticky piston, bail out return; } - #ifdef __WIN32__ + #ifdef _WIN32 Sleep(100); #else usleep(static_cast(100)*1000); @@ -189,7 +189,7 @@ void cPiston::RetractPiston( int pistx, int pisty, int pistz ) } else { - #ifdef __WIN32__ + #ifdef _WIN32 Sleep(100); #else usleep(static_cast(100)*1000);