author | snej@snej.local |
Sun Apr 12 22:16:14 2009 -0700 (2009-04-12) | |
changeset 9 | aa5eb3fd6ebf |
permissions | -rw-r--r-- |
1 //
2 // MYCryptoConfig.h
3 // MYCrypto
4 //
5 // Created by Jens Alfke on 4/5/09.
6 // Copyright 2009 Jens Alfke. All rights reserved.
7 //
9 #import <Security/SecBase.h>
11 /* The iPhone simulator actually has the Mac OS X security API, not the iPhone one.
12 So check which API is installed by looking for a preprocessor symbol that's defined
13 only in the OS X version of SecBase.h. */
15 #ifndef MYCRYPTO_USE_IPHONE_API
17 #if TARGET_OS_IPHONE && !defined(__SEC_TYPES__)
18 #define MYCRYPTO_USE_IPHONE_API 1
19 #else
20 #define MYCRYPTO_USE_IPHONE_API 0
21 #endif
23 #endif