Warning supression for Visual C++ Express... it labels a bunch of ANSI C

functions as "deprecated".
This commit is contained in:
William McBrine
2007-01-08 13:53:18 +00:00
parent c49304d388
commit f1f13aa1f8
2 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -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@