summaryrefslogtreecommitdiff
path: root/src/xxd/xxd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-06 23:29:24 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-06 23:29:24 +0000
commit362e1a30c6f3527d5d0efc328c2fb448290cd6fc (patch)
tree91c408352947bec09aee2032949ef1acef606d15 /src/xxd/xxd.c
parent768b8c4dbcb3cdaccab87daa833ab176a438cc3c (diff)
downloadvim-git-362e1a30c6f3527d5d0efc328c2fb448290cd6fc.tar.gz
updated for version 7.0216v7.0216
Diffstat (limited to 'src/xxd/xxd.c')
-rw-r--r--src/xxd/xxd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xxd/xxd.c b/src/xxd/xxd.c
index 2b553dd6b..2b3ee9c03 100644
--- a/src/xxd/xxd.c
+++ b/src/xxd/xxd.c
@@ -58,6 +58,13 @@
* make money and share with me,
* lose money and don't ask me.
*/
+
+/* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */
+#if _MSC_VER >= 1400
+# define _CRT_SECURE_NO_DEPRECATE
+# define _CRT_NONSTDC_NO_DEPRECATE
+#endif
+
#include <stdio.h>
#ifdef VAXC
# include <file.h>