From 9fa28ab2e91878fa85ba004a530b7ed2f9116776 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 6 May 2017 08:12:33 +0100 Subject: [PATCH] Removed TI specific target --- src/platform.h | 6 +++--- src/type_traits.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/platform.h b/src/platform.h index 6382b37c..3d02f765 100644 --- a/src/platform.h +++ b/src/platform.h @@ -44,8 +44,8 @@ SOFTWARE. #define ETL_COMPILER_MICROSOFT #elif defined(__GNUC__) #define ETL_COMPILER_GCC -#elif defined(__TI_COMPILER_VERSION__) && defined(__MSP430__) - #define ETL_COMPILER_TI_MSP430 +#elif defined(__TI_COMPILER_VERSION__) + #define ETL_COMPILER_TI #elif defined(_MRI) #define ETL_COMPILER_MICROTEC #elif defined(__HIGHC__) @@ -69,7 +69,7 @@ SOFTWARE. // Check to see if the compiler supports nullptr and large character types. #if (defined(ETL_COMPILER_MICROSOFT) && (_MSC_VER < 1600)) || \ defined(ETL_COMPILER_KEIL) || \ - defined(ETL_COMPILER_TI_MSP430) || \ + defined(ETL_COMPILER_TI) || \ defined(ETL_COMPILER_IAR) || \ (defined(ETL_COMPILER_GCC) && (__cplusplus < 201103L)) #define ETL_NO_NULLPTR_SUPPORT diff --git a/src/type_traits.h b/src/type_traits.h index 3d57ed31..b2188b87 100644 --- a/src/type_traits.h +++ b/src/type_traits.h @@ -379,7 +379,7 @@ namespace etl template struct alignment_of : integral_constant {}; #endif -#ifdef ETL_COMPILER_TI_MSP430 +#ifdef ETL_COMPILER_TI template struct alignment_of : integral_constant {}; #endif