0027197: Configuration - fix compilation issues when using mingw
[occt.git] / src / V3d / V3d_View_Print.cxx
index edeaa59..3e07ed9 100644 (file)
@@ -20,7 +20,9 @@
 
 #ifdef _WIN32
 #include <windows.h>
-#pragma comment( lib, "comdlg32.lib"  )
+#if defined(_MSC_VER)
+  #pragma comment( lib, "comdlg32.lib"  )
+#endif
 #endif