diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-05-20 21:15:29 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-05-20 21:15:29 +0000 |
commit | 2bed905feae3f45a28237d20b075ef13dfb55a87 (patch) | |
tree | 15899a05712cbe766e03fecaa272bff53acf393f | |
parent | b81ee70bdb7e02d1612fd2abc69bfedf2d3210c7 (diff) |
[Author: dmaclach]
Fix up GTM build so that it builds on Tiger.
DELTA=15 (15 added, 0 deleted, 0 changed)
R=thomasvl
-rw-r--r-- | AddressBook/GTMABAddressBook.m | 9 | ||||
-rw-r--r-- | ReleaseNotes.txt | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/AddressBook/GTMABAddressBook.m b/AddressBook/GTMABAddressBook.m index 6113a5c..bf8cadf 100644 --- a/AddressBook/GTMABAddressBook.m +++ b/AddressBook/GTMABAddressBook.m @@ -25,6 +25,15 @@ #import <Cocoa/Cocoa.h> #endif // GTM_IPHONE_SDK +#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5 +// Tiger does not have this functionality, so we just set them to 0 +// as they are "or'd" in. This does change the functionality slightly. +enum { + NSDiacriticInsensitiveSearch = 0, + NSWidthInsensitiveSearch = 0 +}; +#endif + NSString *const kGTMABUnknownPropertyName = @"UNKNOWN_PROPERTY"; typedef struct { diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 643eea9..6b3d195 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -292,6 +292,12 @@ Changes since 1.5.1 - Added GTMNSScanner+JSON for scanning out JSON objects and arrays. We don't parse JSON as there are several other frameworks out there for doing that. +- Fixed up GTMABAddressBook so that it will compile and run on Tiger as well. + This did mean some slight functional differences in terms of the + *WithCompositeNameWithPrefix methods as they can't do diacritic or width + insensitive search on Tiger, but this shouldn't affect most users. + + Release 1.5.1 Changes since 1.5.0 16-June-2008 |