docs: Fix GDBusProxy typo name → g-name
[platform/upstream/glib.git] / msvc_recommended_pragmas.h
index ee34eef..f78f9a1 100644 (file)
@@ -26,3 +26,7 @@
 
 #pragma warning(disable:4244)  /* No possible loss of data warnings */
 #pragma warning(disable:4305)   /* No truncation from int to char warnings */
+
+/* work around Microsoft's premature attempt to deprecate the C-Library */
+#define _CRT_SECURE_NO_WARNINGS
+#define _CRT_NONSTDC_NO_WARNINGS