File realcrypt-NULL_PTR-redefinition-warning.patch of Package realcrypt
diff -ru truecrypt-7.0a-source.orig/Common/SecurityToken.h truecrypt-7.0a-source/Common/SecurityToken.h --- truecrypt-7.0a-source.orig/Common/SecurityToken.h 2010-09-05 15:32:10.000000000 +0100 +++ truecrypt-7.0a-source/Common/SecurityToken.h 2011-03-05 17:16:27.000000000 +0000 @@ -16,9 +16,6 @@ # include "Platform/Exception.h" #endif -#ifndef NULL_PTR -# define NULL_PTR 0 -#endif #define CK_PTR * #define CK_CALLBACK_FUNCTION(RET_TYPE, NAME) RET_TYPE (* NAME) @@ -44,6 +41,9 @@ #endif // !TC_WINDOWS +#ifndef NULL_PTR +# define NULL_PTR 0 +#endif #define TC_SECURITY_TOKEN_KEYFILE_URL_PREFIX L"token://" #define TC_SECURITY_TOKEN_KEYFILE_URL_SLOT L"slot"