diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-10-04 13:35:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-10-04 13:35:10 +0300 |
commit | 0b0f3b0530b8f08c4005264adc5402ea5d447cea (patch) | |
tree | 54e0953e8689e3dbcd98407ebbe748f06be004cd /solenv | |
parent | 27be19bd8bba63d0186b7425f30fc323ecc5a925 (diff) |
Do Objective-C -specific foo only when compiling Objective-C
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/inc/premac.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/inc/premac.h b/solenv/inc/premac.h index c60c42cd7749..b5fff62f805d 100644 --- a/solenv/inc/premac.h +++ b/solenv/inc/premac.h @@ -47,11 +47,13 @@ #define StringPtr MacOSStringPtr #define TimeValue MacOSTimeValue +#ifdef __OBJC__ #import <Foundation/NSObjCRuntime.h> #if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050 @class CALayer; @class NSViewController; typedef int NSColorRenderingIntent; #endif +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |