This commit was manufactured by cvs2svn to create branch 'decode'.
[gnokii.git] / include / misc_win32.h
diff --git a/include/misc_win32.h b/include/misc_win32.h
new file mode 100644 (file)
index 0000000..8da3c6f
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+
+  G N O K I I
+
+  A Linux/Unix toolset and driver for Nokia mobile phones.
+
+  Released under the terms of the GNU GPL, see file COPYING for more details.
+
+  Header file for miscellaneous defines, typedefs etc.
+
+*/
+
+#ifndef __misc_win32_h
+#define __misc_win32_h    
+
+#include <windows.h>
+
+#define sleep(x) Sleep((x) * 1000)
+#define usleep(x) Sleep(((x) < 1000) ? 1 : ((x) / 1000))
+
+#endif
\ No newline at end of file