# HG changeset patch
# User greg
# Date 1248100136 -7200
# Node ID 32339ad7d9ae46a8d194468fc4535e5afadc50eb
# Parent  8049afde06abb74528147290f6e6775c55a79ffc
update cf_runtime.c (now call TimerInit and TimerCleanup on win32 platform)

diff -r 8049afde06ab -r 32339ad7d9ae 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