commit | 569df2c135be5a4f9700fca4a286715fd656978c | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jun 21 07:48:07 2011 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jun 21 07:48:07 2011 +0000 |
tree | 83a27635cabf719e8781a6de4ab99ed901902d21 | |
parent | 1aa3d763092702a85c307dccd1919a5aef4bafff [diff] [blame] |
- Fixed inline definition for ARM systems
diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h index 5a699cc..c77f244 100644 --- a/include/polarssl/ssl.h +++ b/include/polarssl/ssl.h
@@ -41,9 +41,13 @@ #include "polarssl/pkcs11.h" #endif -#ifdef _MSC_VER +#if defined(_MSC_VER) #define inline _inline -#endif +#else +#if defined(ARMCC_VERSION) +#define inline __inline +#endif /* ARMCC_VERSION */ +#endif /*_MSC_VER */ /* * SSL Error codes