(svn r4097) -Backported 4084 properly (included the last line) 0.4
authorbjarni
Fri, 24 Mar 2006 23:33:30 +0000
branch0.4
changeset 9963 2a389f0ebd7c
parent 9962 1a78e226e561
child 9964 d4a7ce61b6e9
(svn r4097) -Backported 4084 properly (included the last line)
also added a header that is needed because we didn't backport the new feature, that includes the header in the trunk
os/macosx/Makefile
stdafx.h
--- a/os/macosx/Makefile	Fri Mar 24 22:55:16 2006 +0000
+++ b/os/macosx/Makefile	Fri Mar 24 23:33:30 2006 +0000
@@ -63,7 +63,6 @@
 	$(Q)cp docs/console.txt "OpenTTD $(REV)/docs/"
 	$(Q)cp COPYING "OpenTTD $(REV)/docs/"
 	$(Q)cp changelog.txt "OpenTTD $(REV)/docs/"
-	$(Q)cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(REV)/docs/"
 	$(Q)cp os/macosx/*.webloc "OpenTTD $(REV)"
 	$(Q)cp known-bugs.txt "OpenTTD $(REV)/known-bugs.txt"
 	$(Q)cp scenario/* "OpenTTD $(REV)/scenario/"
--- a/stdafx.h	Fri Mar 24 22:55:16 2006 +0000
+++ b/stdafx.h	Fri Mar 24 23:33:30 2006 +0000
@@ -265,6 +265,9 @@
 # define DrawString OTTD_DrawString
 # define Random OTTD_Random
 # define CloseConnection OTTD_CloseConnection
+
+// enable the preprocessor to tell the difference between different OSX versions
+# include <AvailabilityMacros.h>
 #endif /* __APPLE */
 
 #ifdef __AMIGA__