Merge pull request #2337 from MKinclRA/fix-visual-studio-2019-build

Added stdio.h include to types.h.
This commit is contained in:
David Garske
2020-01-31 12:59:58 -08:00
committed by GitHub

View File

@@ -479,6 +479,7 @@
Windows 10, snprintf is no longer identical to
_snprintf. The snprintf function behavior is now
C99 standard compliant. */
#include <stdio.h>
#define XSNPRINTF snprintf
#else
/* 4996 warning to use MS extensions e.g., _sprintf_s