X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/2973440143693ed88ec4a84745ea02f47376daa1..7e6b461318c8a779d91381531435a68ee4e8b6ed:/OSX/libsecurity_cryptkit/lib/platform.c diff --git a/OSX/libsecurity_cryptkit/lib/platform.c b/OSX/libsecurity_cryptkit/lib/platform.c index 30480d86..371d98f1 100644 --- a/OSX/libsecurity_cryptkit/lib/platform.c +++ b/OSX/libsecurity_cryptkit/lib/platform.c @@ -20,33 +20,9 @@ #include #include "feeDebug.h" -#ifdef NeXT - -/* - * OpenStep.... - */ -void CKRaise(const char *reason) { - #if FEE_DEBUG - printf("CryptKit fatal error: %s\n", reason); - #endif - abort(); -} - -#elif WIN32 - -/* - * OpenStep on Windows. - */ - -void CKRaise(const char *reason) { - #if FEE_DEBUG - printf("CryptKit fatal error: %s\n", reason); - #endif - abort(); -} - -#elif __MAC_BUILD__ +#import "feeDebug.h" +#if __MAC_BUILD__ /* * Macintosh, all flavors. */ @@ -66,17 +42,6 @@ void CKRaise(const char *reason) { abort(); } -#elif unix - -/* try for generic UNIX */ - -void CKRaise(const char *reason) { - #if FEE_DEBUG - printf("CryptKit fatal error: %s\n", reason); - #endif - abort(); -} - #else #error platform-specific work needed in security_cryptkit/platform.c