aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AppKit/GTMNSColor+Luminance.m2
-rw-r--r--Foundation/GTMPath.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/AppKit/GTMNSColor+Luminance.m b/AppKit/GTMNSColor+Luminance.m
index 5b10dbe..df79068 100644
--- a/AppKit/GTMNSColor+Luminance.m
+++ b/AppKit/GTMNSColor+Luminance.m
@@ -16,6 +16,8 @@
// the License.
//
+#import "GTMDefines.h"
+
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
#import "GTMNSColor+Luminance.h"
diff --git a/Foundation/GTMPath.h b/Foundation/GTMPath.h
index 6ac2347..653baf0 100644
--- a/Foundation/GTMPath.h
+++ b/Foundation/GTMPath.h
@@ -18,6 +18,9 @@
#import <Foundation/Foundation.h>
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
+// NSFileManager has improved substantially in Leopard and beyond, so GTMPath
+// is now deprecated.
// GTMPath
//
@@ -130,3 +133,4 @@
@end
+#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5