From 74fb74ebd9491f75e00ff23904f49e41543851c1 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Tue, 21 Jun 2011 13:36:18 +0000 Subject: [PATCH] - Updated ARMCC_VERSION to __ARMCC_VERSION --- include/polarssl/cipher.h | 4 ++-- include/polarssl/md.h | 4 ++-- include/polarssl/ssl.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/polarssl/cipher.h b/include/polarssl/cipher.h index 39a474633a..9452f733e1 100644 --- a/include/polarssl/cipher.h +++ b/include/polarssl/cipher.h @@ -35,9 +35,9 @@ #if defined(_MSC_VER) #define inline _inline #else -#if defined(ARMCC_VERSION) +#if defined(__ARMCC_VERSION) #define inline __inline -#endif /* ARMCC_VERSION */ +#endif /* __ARMCC_VERSION */ #endif /*_MSC_VER */ #define POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE -0x6080 /**< The selected feature is not available. */ diff --git a/include/polarssl/md.h b/include/polarssl/md.h index b50c3738c5..2f0f6e89fb 100644 --- a/include/polarssl/md.h +++ b/include/polarssl/md.h @@ -35,9 +35,9 @@ #if defined(_MSC_VER) #define inline _inline #else -#if defined(ARMCC_VERSION) +#if defined(__ARMCC_VERSION) #define inline __inline -#endif /* ARMCC_VERSION */ +#endif /* __ARMCC_VERSION */ #endif /*_MSC_VER */ #define POLARSSL_ERR_MD_FEATURE_UNAVAILABLE -0x5080 /**< The selected feature is not available. */ diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h index c77f244b53..d98eaedc5c 100644 --- a/include/polarssl/ssl.h +++ b/include/polarssl/ssl.h @@ -44,9 +44,9 @@ #if defined(_MSC_VER) #define inline _inline #else -#if defined(ARMCC_VERSION) +#if defined(__ARMCC_VERSION) #define inline __inline -#endif /* ARMCC_VERSION */ +#endif /* __ARMCC_VERSION */ #endif /*_MSC_VER */ /*