diff options
Diffstat (limited to 'src/xxd/xxd.c')
-rw-r--r-- | src/xxd/xxd.c | 7 |
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> |