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 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 *);