|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef NCURSES_DLL_H_incl |
|
#define NCURSES_DLL_H_incl 1 |
|
|
|
|
|
|
|
|
|
#if defined(__MINGW64__) |
|
|
|
#ifndef _WIN64 |
|
#define _WIN64 1 |
|
#endif |
|
|
|
#elif defined(__MINGW32__) |
|
|
|
#ifndef _WIN32 |
|
#define _WIN32 1 |
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if (__GNUC__ == 4) && (__GNUC_MINOR__ == 8) |
|
|
|
#ifdef trace |
|
#undef trace |
|
#define TRACE |
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#define NCURSES_PUBLIC_VAR(name) _nc_##name |
|
|
|
#if defined(BUILDING_NCURSES) |
|
# define NCURSES_IMPEXP NCURSES_EXPORT_GENERAL_EXPORT |
|
#else |
|
# define NCURSES_IMPEXP NCURSES_EXPORT_GENERAL_IMPORT |
|
#endif |
|
|
|
#define NCURSES_WRAPPED_VAR(type,name) extern NCURSES_IMPEXP type NCURSES_PUBLIC_VAR(name)(void) |
|
|
|
#define NCURSES_EXPORT(type) NCURSES_IMPEXP type NCURSES_API |
|
#define NCURSES_EXPORT_VAR(type) NCURSES_IMPEXP type |
|
|
|
|
|
|
|
|
|
#if defined(__CYGWIN__) || (defined(_WIN32) || defined(_WIN64)) |
|
# if defined(NCURSES_STATIC) |
|
# define NCURSES_EXPORT_GENERAL_IMPORT |
|
# define NCURSES_EXPORT_GENERAL_EXPORT |
|
# else |
|
# define NCURSES_EXPORT_GENERAL_IMPORT __declspec(dllimport) |
|
# define NCURSES_EXPORT_GENERAL_EXPORT __declspec(dllexport) |
|
# endif |
|
# define NCURSES_API __cdecl |
|
#else |
|
# define NCURSES_EXPORT_GENERAL_IMPORT |
|
# define NCURSES_EXPORT_GENERAL_EXPORT |
|
# define NCURSES_API |
|
#endif |
|
|
|
#endif |
|
|