]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common.bkl
Declare variables before doing anything else in C code.
[wxWidgets.git] / build / bakefiles / common.bkl
index 4570a669aeb824724ce5f65f324c02cc8a7263c5..240c344f955e147c7adc07a7a537b0ab9b7abfa6 100644 (file)
             <cppflags>$(EXTRACFLAGS)</cppflags>
         </if>
         <!-- Suppress deprecation warnings for standard library calls -->
             <cppflags>$(EXTRACFLAGS)</cppflags>
         </if>
         <!-- Suppress deprecation warnings for standard library calls -->
-        <if cond="FORMAT in ['msvs2005prj','msvs2008prj']">
+        <if cond="FORMAT in ['msvc','msvs2005prj','msvs2008prj']">
             <define>_CRT_SECURE_NO_DEPRECATE=1</define>
             <define>_CRT_NON_CONFORMING_SWPRINTFS=1</define>
             <define>_SCL_SECURE_NO_WARNINGS=1</define>
             <define>_CRT_SECURE_NO_DEPRECATE=1</define>
             <define>_CRT_NON_CONFORMING_SWPRINTFS=1</define>
             <define>_SCL_SECURE_NO_WARNINGS=1</define>