summaryrefslogtreecommitdiff
path: root/src/os/macosx
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2009-10-04 21:08:25 +0000
committermichi_cc <michi_cc@openttd.org>2009-10-04 21:08:25 +0000
commit4f98178fcd110ebfc10fe42e609d27faf7105b73 (patch)
treeaabdd87f27b58ed934c679c2872d5b2b9bc8a1ea /src/os/macosx
parente2ef24919e8f9dbefa06161d5b6fe5cbc6eb7bd5 (diff)
downloadopenttd-4f98178fcd110ebfc10fe42e609d27faf7105b73.tar.xz
(svn r17705) -Fix: [OSX] Re-enable signal handling on OSX 10.3.9. Trying to link with an undefined symbols that lives in the system library seems to confuse the loader on 10.3.9. Use a different function to circumvent it.
Diffstat (limited to 'src/os/macosx')
-rw-r--r--src/os/macosx/macos.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/os/macosx/macos.h b/src/os/macosx/macos.h
index 7783257bc..f60462481 100644
--- a/src/os/macosx/macos.h
+++ b/src/os/macosx/macos.h
@@ -75,14 +75,4 @@ static inline bool MacOSVersionIsAtLeast(long major, long minor, long bugfix)
return true;
}
-/*
- * OSX 10.3.9 has blessed us with a signal with unlikable side effects.
- * The most problematic side effect is that it makes OpenTTD 'think' that
- * it's running on 10.4.0 or higher and thus tries to link to functions
- * that are only defined there. So now we'll remove all and any signal
- * handling for OSX < 10.4 and 10.3.9 works as it should at the cost of
- * not giving a useful error when savegame loading goes wrong.
- */
-#define signal(sig, func) (MacOSVersionIsAtLeast(10, 4, 0) ? signal(sig, func) : NULL)
-
#endif /* MACOS_H */