# HG changeset patch # User Alain Mazy # Date 1555578286 -7200 # Node ID ccd1a1ede305baaf2388960403319425909eefe1 # Parent 10996305011203579b44d25603593920e8707a74 fix previous merge diff -r 109963050112 -r ccd1a1ede305 Applications/StoneApplicationContext.h --- a/Applications/StoneApplicationContext.h Thu Apr 18 10:43:17 2019 +0200 +++ b/Applications/StoneApplicationContext.h Thu Apr 18 11:04:46 2019 +0200 @@ -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 namespace OrthancStone