0025382: Visualization, TKOpenGl - improved video recording capability
[occt.git] / adm / cmake / occt_toolkit.cmake
index a78c1aa..e6b1d94 100644 (file)
@@ -316,6 +316,7 @@ if (BUILD_USE_PCH)
 
   # workaround for old gcc
   if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
+    add_definitions("-D__STDC_CONSTANT_MACROS")
     add_definitions("-D__STDC_FORMAT_MACROS")
   endif()