diff --git a/OpenChange/SOGoContactGCSEntry+MAPIStore.m b/OpenChange/SOGoContactGCSEntry+MAPIStore.m index 2d73e9910..fce603d0c 100644 --- a/OpenChange/SOGoContactGCSEntry+MAPIStore.m +++ b/OpenChange/SOGoContactGCSEntry+MAPIStore.m @@ -27,30 +27,12 @@ #import #import +#import "MAPIStoreTypes.h" + #import "SOGoContactGCSEntry+MAPIStore.h" -#undef DEBUG -#include -#include - @implementation SOGoContactGCSEntry (MAPIStoreMessage) -#if (GS_SIZEOF_LONG == 4) -static inline NSNumber * -MAPIPropertyNumber (unsigned long propTag) -{ - return [NSNumber numberWithUnsignedLong: propTag]; -} -#elif (GS_SIZEOF_INT == 4) -static inline NSNumber * -MAPIPropertyNumber (unsigned int propTag) -{ - return [NSNumber numberWithUnsignedInt: propTag]; -} -#else -#error No suitable type for 4 bytes integers -#endif - - (void) setMAPIProperties: (NSDictionary *) properties { NGVCard *newCard, *oldCard;