Skip to content

Commit

Permalink
fix: determine legacy variant after determining compiler version (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewr95 authored Jul 30, 2024
1 parent bc6db72 commit 211b8c2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions include/etl/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 211b8c2

Please sign in to comment.