summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-11-26 19:42:35 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-11-26 19:45:02 +0100
commitc972f37886e3db405f30b713b96a3dedf72675b6 (patch)
tree1b9697657869bb0a2d1f6089910bef63727801de
parent3895beb6bbc6aaaaf167f1db99b7078506a83622 (diff)
add virtual override safety while preserving M$VC brain damage
-rw-r--r--facetracknoir/global-settings.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/facetracknoir/global-settings.h b/facetracknoir/global-settings.h
index 3e24bf74..6b04b73b 100644
--- a/facetracknoir/global-settings.h
+++ b/facetracknoir/global-settings.h
@@ -12,6 +12,12 @@
# define MAYBE_STDCALL_UNDERSCORE ""
#endif
+#ifdef _MSC_VER
+# define virt_override
+#else
+# define virt_override override
+#endif
+
#include <cstdio>
#include <QWidget>