aboutsummaryrefslogtreecommitdiff
path: root/src/pj_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_init.c')
-rw-r--r--src/pj_init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pj_init.c b/src/pj_init.c
index 2d588ee4..a72dbec1 100644
--- a/src/pj_init.c
+++ b/src/pj_init.c
@@ -36,6 +36,11 @@
#include "proj_internal.h"
#include "projects.h"
+#if defined(_MSC_VER)
+// Squelch warnings about unsafe use of sprintf, etc
+# pragma warning (disable: 4996)
+#endif
+
/* Maximum size of files using the "escape carriage return" feature */
#define MAX_CR_ESCAPE 65537
typedef struct {