update cf_runtime.c (now call TimerInit and TimerCleanup on win32 platform)
authorgreg
Mon, 20 Jul 2009 16:28:56 +0200
changeset 360 32339ad7d9ae
parent 359 8049afde06ab
child 361 331d698e1118
child 378 75ae46b66315
update cf_runtime.c (now call TimerInit and TimerCleanup on win32 platform)
plugins/canfestival/cf_runtime.c
--- a/plugins/canfestival/cf_runtime.c	Fri Jul 10 11:39:43 2009 +0200
+++ b/plugins/canfestival/cf_runtime.c	Mon Jul 20 16:28:56 2009 +0200
@@ -83,13 +83,12 @@
 {
     // Stop timer thread
     if(init_level-- > 0){
-    int init_level_c = init_level;	
+    int init_level_c = init_level;
         StopTimerLoop(&Exit);
         %(nodes_close)s
     }
-    #if !defined(WIN32) || defined(__CYGWIN__)
-        TimerCleanup();
-    #endif
+
+    TimerCleanup();
 }
 
 #define NODE_OPEN(nodename)\
@@ -110,9 +109,8 @@
         return -1;
     }
 #endif
-    #if !defined(WIN32) || defined(__CYGWIN__)
-        TimerInit();
-    #endif
+
+    TimerInit();
 
     %(nodes_open)s