Index: src/OFCString.h ================================================================== --- src/OFCString.h +++ src/OFCString.h @@ -9,11 +9,10 @@ * the packaging of this file. */ #import -#import "OFObject.h" #import "OFString.h" @interface OFCString: OFString { char *string; Index: src/OFHashes.m ================================================================== --- src/OFHashes.m +++ src/OFHashes.m @@ -253,10 +253,16 @@ return (uint8_t*)buf; } @end +#undef F1 +#undef F2 +#undef F3 +#undef F4 +#undef MD5STEP + /******** * SHA1 * ********/ /* blk0() and blk() perform the initial expand. */ @@ -412,5 +418,13 @@ ((3 - (i & 3)) * 8)) & 255); return digest; } @end + +#undef blk0 +#undef blk +#undef R0 +#undef R1 +#undef R2 +#undef R3 +#undef R4 Index: src/OFString.h ================================================================== --- src/OFString.h +++ src/OFString.h @@ -9,10 +9,11 @@ * the packaging of this file. */ #import #import + #import "OFObject.h" @interface OFString: OFObject + newAsConstCString: (const char*)str; + newAsConstWideCString: (const wchar_t*)str;