]> git.mxchange.org Git - flightgear.git/commitdiff
Jari Häkkinen: compile on Mac
authorfredb <fredb>
Wed, 3 Mar 2010 19:38:17 +0000 (19:38 +0000)
committerTim Moore <timoore33@gmail.com>
Wed, 3 Mar 2010 23:46:42 +0000 (00:46 +0100)
utils/TerraSync/terrasync.cxx

index 91017fb341b195e40e6f452b5c5e4f8ee538f241..f6c33c9b64c3e393ae6f2749c127dc22d88a43e8 100644 (file)
@@ -275,6 +275,8 @@ void sync_tree(const char* dir) {
 
 #ifdef _MSC_VER
 typedef void (__cdecl * sighandler_t)(int);
+#elif defined( __APPLE__ )
+typedef sig_t sighandler_t;
 #endif
 
 bool terminating = false;