summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_sc
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-06 09:14:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-06 09:14:12 +0200
commite3140d0293de8adb584dafe264f5f4024c82ff88 (patch)
tree95471ac27c9da395b4d544a77793711c466eaa38 /ftnoir_protocol_sc
parent1388d95ecf71d517d24ccb6713641220a5553e4a (diff)
simconnect: guard GNUC pragma
Diffstat (limited to 'ftnoir_protocol_sc')
-rw-r--r--ftnoir_protocol_sc/ftnoir_protocol_sc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp
index 5f70b093..7d4e09f9 100644
--- a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp
+++ b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp
@@ -84,7 +84,9 @@ void FTNoIR_Protocol::pose( const double *headpose ) {
virtSCPosZ = -headpose[TZ]/100.f;
}
-#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
+#ifdef __GNUC__
+# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
+#endif
class ActivationContext {
public: