Commit 898fd5801dbf3f0a8d2d3b28d3438aff774bfe89

dtremenak 2008-05-22T17:28:21

quell deprecation messages for posix and c-style string functions

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/msvc/config.h b/msvc/config.h
index b844d34..66e6a87 100644
--- a/msvc/config.h
+++ b/msvc/config.h
@@ -8,3 +8,7 @@
 #ifdef _MSC_VER
 #pragma warning(disable: 4355)
 #endif
+
+// quell spurious portable-function deprecation warnings
+#define _CRT_SECURE_NO_DEPRECATE 1
+#define _POSIX_ 1
\ No newline at end of file