- Updated ARMCC_VERSION to __ARMCC_VERSION
diff --git a/include/polarssl/cipher.h b/include/polarssl/cipher.h
index 39a4746..9452f73 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 b50c373..2f0f6e8 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 c77f244..d98eaed 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 */
/*