Moving the Windows-specific includes into the Windows-specific header file
[freeglut] / src / mswin / freeglut_main_mswin.c
index b04e9e0..be48b23 100644 (file)
@@ -108,6 +108,16 @@ void fgPlatformDisplayWindow ( SFG_Window *window )
 }\r
 \r
 \r
+unsigned long fgPlatformSystemTime ( void )\r
+{\r
+#if defined(_WIN32_WCE)\r
+    return GetTickCount();\r
+#else\r
+    return timeGetTime();\r
+#endif\r
+}\r
+\r
+\r
 void fgPlatformSleepForEvents( long msec )\r
 {\r
     MsgWaitForMultipleObjects( 0, NULL, FALSE, msec, QS_ALLINPUT );\r