From a5a0bcbbd8d395b5c80dc16bfc5d96fc6b1a317f Mon Sep 17 00:00:00 2001 From: William McBrine Date: Fri, 8 Dec 2017 13:43:11 -0500 Subject: [PATCH 1/2] Kill new link warning in 64-bit MSVC. --- exp-base.def | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/exp-base.def b/exp-base.def index 222b1339..43c9646b 100644 --- a/exp-base.def +++ b/exp-base.def @@ -1,14 +1,3 @@ -LINES -COLS -stdscr -curscr -SP -Mouse_status -COLORS -COLOR_PAIRS -TABSIZE -acs_map -ttytype addch addchnstr addchstr @@ -355,7 +344,6 @@ PDC_get_input_fd PDC_get_key_modifiers PDC_save_key_modifiers PDC_return_key_modifiers -cur_term del_curterm putp restartterm From 81685aa58818710f231ba6a3939dcef6a59b2282 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Fri, 8 Dec 2017 14:45:40 -0500 Subject: [PATCH 2/2] Redundant. --- term.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/term.h b/term.h index 48dbe80e..ba0a04fa 100644 --- a/term.h +++ b/term.h @@ -20,15 +20,7 @@ typedef struct const char *_termname; } TERMINAL; -#ifdef PDC_DLL_BUILD -# ifndef CURSES_LIBRARY -__declspec(dllimport) TERMINAL *cur_term; -# else -__declspec(dllexport) extern TERMINAL *cur_term; -# endif -#else -extern TERMINAL *cur_term; -#endif +PDCEX TERMINAL *cur_term; int del_curterm(TERMINAL *); int putp(const char *);