# HG changeset patch # User John "Elwin" Edwards # Date 1439321371 14400 # Node ID 61d1c9ac9be7ff4bbc0afdbeaeaf5b3c2d629f05 # Parent 80a590e67206f757718ec85c0d2c9d0afcd84cfb Advanced Rogue 5: rearrange some of mdport.c. process.h is now included in the proper place for compiling with MSVC. md_sleep() has been removed. If it were used anywhere, it could have been fixed by replacing _sleep() with Sleep(). diff -r 80a590e67206 -r 61d1c9ac9be7 arogue5/mdport.c --- a/arogue5/mdport.c Tue Aug 11 15:15:09 2015 -0400 +++ b/arogue5/mdport.c Tue Aug 11 15:29:31 2015 -0400 @@ -36,7 +36,6 @@ #if defined(_WIN32) #include #include -#include #include #include #undef MOUSE_MOVED @@ -69,6 +68,10 @@ #include #endif +#if defined(_WIN32) +#include +#endif + #include #include #include @@ -331,16 +334,6 @@ return(homedir); } -int -md_sleep(int s) -{ -#ifdef _WIN32 - _sleep(s); -#else - sleep(s); -#endif -} - char * md_getshell() {