Mercurial > hg > orthanc-stone
changeset 567:375dc0aeb19b
Merged am-dev into default
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 18 Apr 2019 09:05:43 +0000 |
parents | 37e396ae08a3 (current diff) ccd1a1ede305 (diff) |
children | 943f9fb02496 |
files | |
diffstat | 2 files changed, 18 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/StoneApplicationContext.h Thu Apr 18 07:30:56 2019 +0000 +++ b/Applications/StoneApplicationContext.h Thu Apr 18 09:05:43 2019 +0000 @@ -27,7 +27,24 @@ #include "../Framework/Viewport/WidgetViewport.h" +#ifdef _MSC_VER + #if _MSC_VER > 1910 + #define orthanc_override override #else + #define orthanc_override + #endif +#elif defined __GNUC__ + #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) +/* Test for GCC > 3.2.0 */ + #if GCC_VERSION > 40900 + #define orthanc_override override + #else + #define orthanc_override + #endif +#else + #define orthanc_override +#endif + #include <list> namespace OrthancStone