Explorar el Código

Wrap #pragma between #ifdef _MSC_VER #endif

Julien Finet hace 14 años
padre
commit
6c9d67961b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      Libs/Core/ctkUtils.cpp

+ 3 - 1
Libs/Core/ctkUtils.cpp

@@ -23,7 +23,9 @@
 // STD includes
 #include <algorithm>
 
-#pragma warning(disable: 4996)
+#ifdef _MSC_VER
+  #pragma warning(disable: 4996)
+#endif
 
 //------------------------------------------------------------------------------
 void ctk::qListToSTLVector(const QStringList& list,