projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hacked image loading to use assman
[laserbrain_demo]
/
src
/
timer.cc
diff --git
a/src/timer.cc
b/src/timer.cc
index
95f6c0c
..
44a06ac
100644
(file)
--- a/
src/timer.cc
+++ b/
src/timer.cc
@@
-43,9
+43,11
@@
void sleep_msec(unsigned long msec)
}
#endif
-#ifdef WIN32
+#if defined(WIN32) || defined(__WIN32__)
#include <windows.h>
+#ifdef _MSC_VER
#pragma comment(lib, "winmm.lib")
+#endif
unsigned long get_time_msec(void)
{