1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // platform-independant sleep macros
9 //-----------------------------------------------------------------------------
16 #define sleep(n) Sleep(1000 * n)
17 #define msleep(n) Sleep(n)
20 #define msleep(n) usleep(1000 * n)