docs: Fix GDBusProxy typo name → g-name
[platform/upstream/glib.git] / msvc_recommended_pragmas.h
index cb9370c..f78f9a1 100644 (file)
@@ -28,4 +28,5 @@
 #pragma warning(disable:4305)   /* No truncation from int to char warnings */
 
 /* work around Microsoft's premature attempt to deprecate the C-Library */
-#pragma warning(disable:4996)   /* This function or variable may be unsafe. */
+#define _CRT_SECURE_NO_WARNINGS
+#define _CRT_NONSTDC_NO_WARNINGS