[Orxonox-commit 5016] r9682 - code/trunk/src/libraries/util

landauf at orxonox.net landauf at orxonox.net
Wed Oct 2 23:31:02 CEST 2013


Author: landauf
Date: 2013-10-02 23:31:02 +0200 (Wed, 02 Oct 2013)
New Revision: 9682

Modified:
   code/trunk/src/libraries/util/SignalHandler.cc
Log:
fixed build on MSVC: unistd.h is not part of windows

Modified: code/trunk/src/libraries/util/SignalHandler.cc
===================================================================
--- code/trunk/src/libraries/util/SignalHandler.cc	2013-09-30 11:18:18 UTC (rev 9681)
+++ code/trunk/src/libraries/util/SignalHandler.cc	2013-10-02 21:31:02 UTC (rev 9682)
@@ -39,7 +39,6 @@
 #include <cstring>
 #include <cstdio>
 
-#include <unistd.h>
 #include "Output.h"
 
 namespace orxonox
@@ -54,6 +53,7 @@
 #include <X11/Xutil.h>
 #include <X11/keysym.h>
 #include <sys/prctl.h>
+#include <unistd.h>
 
 namespace orxonox
 {
@@ -71,7 +71,7 @@
       assert( sigRecList.size() == 0 );
 
       catchSignal( SIGSEGV );
-      catchSignal( SIGABRT );  
+      catchSignal( SIGABRT );
       catchSignal( SIGILL );
     }
 




More information about the Orxonox-commit mailing list