aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" {