Changeset - r6188:5dbfb6d986ee
[Not reviewed]
master
0 1 0
truelight - 17 years ago 2007-03-02 00:36:16
truelight@openttd.org
(svn r8967) -Fix (OSX): silent the warnings in cocoa_v.mm about deprecated stuff.. we know that\!
1 file changed with 8 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/video/cocoa_v.mm
Show inline comments
 
@@ -8,6 +8,14 @@
 

	
 
#ifdef WITH_COCOA
 

	
 
#include <AvailabilityMacros.h>
 
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4)
 
/* On 10.4, we get tons of warnings that the QuickDraw functions are deprecated.
 
 *  We know that. Don't keep bugging us about that. */
 
#	undef AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4
 
#	define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER
 
#endif
 

	
 
#import <Cocoa/Cocoa.h>
 
#import <sys/time.h> /* gettimeofday */
 
#import <sys/param.h> /* for MAXPATHLEN */
0 comments (0 inline, 0 general)