From 9c7d8e8ef7947df7789d7645d52bbf002e41d63a Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sun, 28 Jan 2018 01:37:38 -0500 Subject: [PATCH] Platform-specific. --- curspriv.h | 4 ---- win32/pdcwin.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/curspriv.h b/curspriv.h index 654c2e3d..37fb6666 100644 --- a/curspriv.h +++ b/curspriv.h @@ -23,10 +23,6 @@ # endif #endif -#if defined(_MSC_VER) && defined(_WIN32) && !defined(_CRT_SECURE_NO_DEPRECATE) -# define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */ -#endif - /*----------------------------------------------------------------------*/ typedef struct /* structure for ripped off lines */ diff --git a/win32/pdcwin.h b/win32/pdcwin.h index b26a754a..b32ddee7 100644 --- a/win32/pdcwin.h +++ b/win32/pdcwin.h @@ -9,6 +9,10 @@ #undef MOUSE_MOVED #include +#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) +# define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */ +#endif + #ifdef CHTYPE_LONG # define PDC_ATTR_SHIFT 17 #else