aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Foundation/GTMGeometryUtils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Foundation/GTMGeometryUtils.h b/Foundation/GTMGeometryUtils.h
index c3d6b1a..5c14303 100644
--- a/Foundation/GTMGeometryUtils.h
+++ b/Foundation/GTMGeometryUtils.h
@@ -22,6 +22,10 @@
#import <Foundation/Foundation.h>
#import "GTMDefines.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum {
GTMScaleProportionally = 0, // Fit proportionally
GTMScaleToFit, // Forced fit (distort if necessary)
@@ -450,3 +454,7 @@ GTM_INLINE CGFloat GTMNSDistanceBetweenPoints(NSPoint pt1, NSPoint pt2) {
}
#endif // !GTM_IPHONE_SDK
+
+#ifdef __cplusplus
+}
+#endif