From 37835e915840406cb47ea7a06d138edb76c6a2b4 Mon Sep 17 00:00:00 2001 From: bjarni Date: Fri, 24 Mar 2006 23:33:30 +0000 Subject: [PATCH] (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 | 1 - stdafx.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/os/macosx/Makefile b/os/macosx/Makefile index 93acda4b24..0cd98d27f7 100644 --- a/os/macosx/Makefile +++ b/os/macosx/Makefile @@ -63,7 +63,6 @@ release: all $(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/" diff --git a/stdafx.h b/stdafx.h index 873b880a6f..e70215eca4 100644 --- a/stdafx.h +++ b/stdafx.h @@ -265,6 +265,9 @@ assert_compile(sizeof(uint8) == 1); # define DrawString OTTD_DrawString # define Random OTTD_Random # define CloseConnection OTTD_CloseConnection + +// enable the preprocessor to tell the difference between different OSX versions +# include #endif /* __APPLE */ #ifdef __AMIGA__