diff --git a/ChangeLog b/ChangeLog index 79ac7ba70..a4fd1b75f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-06-11 Fred Kiefer + * Source/NSDateFormatter.m, + * Source/NSTimeZone.m, * Source\NSCalendar.m: Protect the name id. Patch by Sebastian Reitenbach diff --git a/Source/NSDateFormatter.m b/Source/NSDateFormatter.m index 7258d86e6..4c916f49c 100644 --- a/Source/NSDateFormatter.m +++ b/Source/NSDateFormatter.m @@ -39,7 +39,9 @@ #import "Foundation/NSCoder.h" #if defined(HAVE_UNICODE_UDAT_H) +#define id id_ucal #include +#undef id #endif #if defined(HAVE_UNICODE_UDATPG_H) #include diff --git a/Source/NSTimeZone.m b/Source/NSTimeZone.m index fa3f963c3..e627d9bc7 100644 --- a/Source/NSTimeZone.m +++ b/Source/NSTimeZone.m @@ -120,7 +120,9 @@ #endif #if defined(HAVE_UNICODE_UCAL_H) +#define id id_ucal #include +#undef id #endif NSString * const NSSystemTimeZoneDidChangeNotification