This commit was generated by cvs2svn to compensate for changes in r161,
[gnokii.git] / include / misc_win32.h
1 /*
2
3   G N O K I I
4
5   A Linux/Unix toolset and driver for Nokia mobile phones.
6
7   Released under the terms of the GNU GPL, see file COPYING for more details.
8
9   Header file for miscellaneous defines, typedefs etc.
10
11 */
12
13 #ifndef __misc_win32_h
14 #define __misc_win32_h    
15
16 #include <windows.h>
17
18 #define sleep(x) Sleep((x) * 1000)
19 #define usleep(x) Sleep(((x) < 1000) ? 1 : ((x) / 1000))
20
21 #endif