diff Applications/StoneApplicationContext.h @ 566:ccd1a1ede305 am-dev

fix previous merge
author Alain Mazy <alain@mazy.be>
date Thu, 18 Apr 2019 11:04:46 +0200
parents 1201b12eb9f8
children 4f2416d519b4
line wrap: on
line diff
--- 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 <list>
 
 namespace OrthancStone