aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSFileManager+Path.h
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-06-14 12:00:23 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-06-14 12:00:23 +0000
commita43107b29c2236d47e447c9039674b9040a9ec25 (patch)
tree10ced72db2d8b7ad7195164aa1cf915e3288313f /Foundation/GTMNSFileManager+Path.h
parentf1e548b1e810a7557e8772b67bc181b7743c694f (diff)
[Author: thomasvl]
Pile of fixes for trunk version of clang. R=dmaclach DELTA=59 (26 added, 0 deleted, 33 changed)
Diffstat (limited to 'Foundation/GTMNSFileManager+Path.h')
-rw-r--r--Foundation/GTMNSFileManager+Path.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Foundation/GTMNSFileManager+Path.h b/Foundation/GTMNSFileManager+Path.h
index f377215..7c12158 100644
--- a/Foundation/GTMNSFileManager+Path.h
+++ b/Foundation/GTMNSFileManager+Path.h
@@ -22,7 +22,7 @@
/// A few useful methods for dealing with paths.
@interface NSFileManager (GMFileManagerPathAdditions)
-#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
+#if GTM_MACOSX_SDK && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5)
/// For the Unix-y at heart, this is "mkdir -p". It tries to create
/// the directory specified by |path|, and any intervening directories that
@@ -47,7 +47,7 @@
- (BOOL)gtm_createFullPathToDirectory:(NSString *)path
attributes:(NSDictionary *)attributes;
-#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
+#endif // GTM_MACOSX_SDK && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5)
/// Return an the paths for all resources in |directoryPath| that have the
/// |extension| file extension.