diff --git a/include/etl/platform.h b/include/etl/platform.h index 303e8ccb6..e66a0e08d 100644 --- a/include/etl/platform.h +++ b/include/etl/platform.h @@ -138,6 +138,15 @@ SOFTWARE. #define ETL_NOT_USING_64BIT_TYPES 0 #endif +//************************************* +// Figure out things about the compiler, if haven't already done so in etl_profile.h +#include "profiles/determine_compiler_version.h" +#include "profiles/determine_compiler_language_support.h" + +//************************************* +// See if we can determine the OS we're compiling on, if haven't already done so in etl_profile.h +#include "profiles/determine_development_os.h" + //************************************* // Helper macro for choosing the variant type. #if !ETL_USING_CPP11 || defined(ETL_USE_LEGACY_VARIANT) @@ -148,15 +157,6 @@ SOFTWARE. #define ETL_NOT_USING_LEGACY_VARIANT 1 #endif -//************************************* -// Figure out things about the compiler, if haven't already done so in etl_profile.h -#include "profiles/determine_compiler_version.h" -#include "profiles/determine_compiler_language_support.h" - -//************************************* -// See if we can determine the OS we're compiling on, if haven't already done so in etl_profile.h -#include "profiles/determine_development_os.h" - //************************************* // Check WCHAR_MIN and WCHAR_MAX #if !defined(WCHAR_MIN)