12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #ifndef SDK_ALLOCA_H__
- #define SDK_ALLOCA_H__
- #if defined(__SDK_DOXYGEN__)
-
- #define SDK_ALLOCA_DEFINED 1
- #elif defined(__GNUC__)
- #if defined(__SES_ARM)
-
- #if !defined(alloca)
- #define alloca(size) __builtin_alloca((size))
- #endif
- #else
-
- #include <malloc.h>
- #if !defined(alloca)
- #include <alloca.h>
- #endif
- #endif
- #define SDK_ALLOCA_DEFINED 1
- #elif defined(__IAR_SYSTEMS_ICC__)
-
- #define SDK_ALLOCA_DEFINED 0
- #else
-
- #include <alloca.h>
- #define SDK_ALLOCA_DEFINED 1
- #endif
- #endif
|