examples/TestMasterSlave/TestMasterSlave.c
changeset 629 b9274b595650
parent 466 b71655eca5e2
--- a/examples/TestMasterSlave/TestMasterSlave.c	Fri Nov 12 22:02:32 2010 +0100
+++ b/examples/TestMasterSlave/TestMasterSlave.c	Fri Nov 12 22:24:06 2010 +0100
@@ -189,8 +189,10 @@
   /* install signal handler for manual break */
 	signal(SIGTERM, catch_signal);
 	signal(SIGINT, catch_signal);
+#endif
+	// Also Windows needs to initialize the Timer!
+	// Moving this line into the ifndef leads to a lethal crash!
 	TimerInit();
-#endif
 
 #ifndef NOT_USE_DYNAMIC_LOADING
 	if (LoadCanDriver(LibraryPath) == NULL)