summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-23 19:50:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-23 19:50:21 +0200
commit76a5947369612e737bedd86faf215a910abaead7 (patch)
treeb4fbf05eca4004ac3a739b7ec077a4218c80b88a
parent18e2eb1ad59db93f575bf9199d9f361c05161e70 (diff)
Fix MSVC brain damage
-rw-r--r--facetracknoir/facetracknoir.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/facetracknoir/facetracknoir.h b/facetracknoir/facetracknoir.h
index 499bdf3f..7c7b7a87 100644
--- a/facetracknoir/facetracknoir.h
+++ b/facetracknoir/facetracknoir.h
@@ -70,7 +70,10 @@ class FaceTrackNoIR : public QMainWindow, IDynamicLibraryProvider
Q_OBJECT
public:
- volatile const char* __opentrack_version__ = "$OPENTRACK_VERSION=" OPENTRACK_VERSION "$";
+#ifndef _MSC_VER
+ volatile
+#endif
+ const char* __opentrack_version__ = "$OPENTRACK_VERSION=" OPENTRACK_VERSION "$";
FaceTrackNoIR(QWidget *parent = 0, Qt::WindowFlags flags = 0);
~FaceTrackNoIR();