Added 'Force C++03' macro

This commit is contained in:
John Wellbelove 2021-08-10 11:31:02 +01:00
parent 30f0f58178
commit 27f5204032
2 changed files with 2 additions and 1 deletions

View File

@ -295,7 +295,7 @@ namespace etl
destination.receive(message);
}
#if ETL_CPP17_SUPPORTED
#if ETL_CPP17_SUPPORTED && !defined(ETL_MESSAGE_ROUTER_FORCE_CPP03)
//***************************************************************************
// The definition for all message types.
//***************************************************************************

View File

@ -96,6 +96,7 @@ SOFTWARE.
#define ETL_MEM_CAST_FORCE_CPP03
#define ETL_MESSAGE_PACKET_FORCE_CPP03
#define ETL_OBSERVER_FORCE_CPP03
#define ETL_MESSAGE_ROUTER_FORCE_CPP03
#endif
#if defined(ETL_FORCE_TEST_CPP11)