aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-06-04 16:34:59 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-06-04 16:34:59 +0000
commit0235dc2f349d5bd964da88a9607a7bf168a38b5e (patch)
treed0a06ed14242f002794168fdee973c4e5dbbac46
parent181fa1354615b06612b25c7ed291971da2dc6ccf (diff)
[Author: dmaclach]
Forgot that CoreGraphics was not a top level framework on the Mac, and is unnecessary to compile on the Mac. R=thomasvl DELTA=0 (0 added, 0 deleted, 0 changed)
-rw-r--r--Foundation/GTMCalculatedRange.h4
-rw-r--r--Foundation/GTMExceptionalInlines.h4
-rw-r--r--Foundation/GTMGeometryUtils.h4
3 files changed, 9 insertions, 3 deletions
diff --git a/Foundation/GTMCalculatedRange.h b/Foundation/GTMCalculatedRange.h
index 7796f0b..c51181a 100644
--- a/Foundation/GTMCalculatedRange.h
+++ b/Foundation/GTMCalculatedRange.h
@@ -20,8 +20,10 @@
//
#import <Foundation/Foundation.h>
-#import <CoreGraphics/CoreGraphics.h>
#import "GTMDefines.h"
+#if GTM_IPHONE_SDK
+#import <CoreGraphics/CoreGraphics.h>
+#endif // GTM_IPHONE_SDK
/// Allows you to calculate a value based on defined stops in a range.
//
diff --git a/Foundation/GTMExceptionalInlines.h b/Foundation/GTMExceptionalInlines.h
index ef6718a..ee3a3db 100644
--- a/Foundation/GTMExceptionalInlines.h
+++ b/Foundation/GTMExceptionalInlines.h
@@ -17,8 +17,10 @@
//
#import <Foundation/Foundation.h>
-#import <CoreGraphics/CoreGraphics.h>
#import "GTMDefines.h"
+#if GTM_IPHONE_SDK
+#import <CoreGraphics/CoreGraphics.h>
+#endif // GTM_IPHONE_SDK
// This file exists because when you have full warnings on you can run into
// troubles with functions that Apple has inlined that have structures or
diff --git a/Foundation/GTMGeometryUtils.h b/Foundation/GTMGeometryUtils.h
index 867977d..6b683ae 100644
--- a/Foundation/GTMGeometryUtils.h
+++ b/Foundation/GTMGeometryUtils.h
@@ -20,8 +20,10 @@
//
#import <Foundation/Foundation.h>
-#import <CoreGraphics/CoreGraphics.h>
#import "GTMDefines.h"
+#if GTM_IPHONE_SDK
+#import <CoreGraphics/CoreGraphics.h>
+#endif // GTM_IPHONE_SDK
#ifdef __cplusplus
extern "C" {