From f1f13aa1f82c32d44a25d2aed40d63f69d4a6505 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Mon, 8 Jan 2007 13:53:18 +0000 Subject: [PATCH] Warning supression for Visual C++ Express... it labels a bunch of ANSI C functions as "deprecated". --- curses.h | 5 ++++- x11/Makefile.in | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/curses.h b/curses.h index 42c57766..f1bc6057 100644 --- a/curses.h +++ b/curses.h @@ -11,7 +11,7 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -/* $Id: curses.h,v 1.269 2007/01/05 12:01:22 wmcbrine Exp $ */ +/* $Id: curses.h,v 1.270 2007/01/08 13:53:18 wmcbrine Exp $ */ /*----------------------------------------------------------------------* * PDCurses * @@ -103,6 +103,9 @@ PDCurses portable platform definitions list: # ifndef WIN32 # define WIN32 # endif +# ifndef _CRT_SECURE_NO_DEPRECATE +# define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */ +# endif # else # define DOS 6 # endif diff --git a/x11/Makefile.in b/x11/Makefile.in index c225eae5..1f8f3e4c 100644 --- a/x11/Makefile.in +++ b/x11/Makefile.in @@ -314,6 +314,10 @@ deleteln.sho: $(srcdir)/deleteln.c $(DYN_BUILD) $(srcdir)/deleteln.c @SAVE2O@ +deprec.sho: $(srcdir)/deprec.c + $(DYN_BUILD) $(srcdir)/deprec.c + @SAVE2O@ + getch.sho: $(srcdir)/getch.c $(DYN_BUILD) $(srcdir)/getch.c @SAVE2O@