Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include
File: ncurses_dll.h
/****************************************************************************
[0] Fix | Delete
* Copyright (c) 1998-2009,2014 Free Software Foundation, Inc. *
[1] Fix | Delete
* *
[2] Fix | Delete
* Permission is hereby granted, free of charge, to any person obtaining a *
[3] Fix | Delete
* copy of this software and associated documentation files (the *
[4] Fix | Delete
* "Software"), to deal in the Software without restriction, including *
[5] Fix | Delete
* without limitation the rights to use, copy, modify, merge, publish, *
[6] Fix | Delete
* distribute, distribute with modifications, sublicense, and/or sell *
[7] Fix | Delete
* copies of the Software, and to permit persons to whom the Software is *
[8] Fix | Delete
* furnished to do so, subject to the following conditions: *
[9] Fix | Delete
* *
[10] Fix | Delete
* The above copyright notice and this permission notice shall be included *
[11] Fix | Delete
* in all copies or substantial portions of the Software. *
[12] Fix | Delete
* *
[13] Fix | Delete
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
[14] Fix | Delete
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
[15] Fix | Delete
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
[16] Fix | Delete
* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
[17] Fix | Delete
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
[18] Fix | Delete
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
[19] Fix | Delete
* THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
[20] Fix | Delete
* *
[21] Fix | Delete
* Except as contained in this notice, the name(s) of the above copyright *
[22] Fix | Delete
* holders shall not be used in advertising or otherwise to promote the *
[23] Fix | Delete
* sale, use or other dealings in this Software without prior written *
[24] Fix | Delete
* authorization. *
[25] Fix | Delete
****************************************************************************/
[26] Fix | Delete
/* $Id: ncurses_dll.h.in,v 1.9 2014/08/02 21:30:20 tom Exp $ */
[27] Fix | Delete
[28] Fix | Delete
#ifndef NCURSES_DLL_H_incl
[29] Fix | Delete
#define NCURSES_DLL_H_incl 1
[30] Fix | Delete
[31] Fix | Delete
/* 2014-08-02 workaround for broken MinGW compiler.
[32] Fix | Delete
* Oddly, only TRACE is mapped to trace - the other -D's are okay.
[33] Fix | Delete
* suggest TDM as an alternative.
[34] Fix | Delete
*/
[35] Fix | Delete
#if defined(__MINGW64__)
[36] Fix | Delete
#elif defined(__MINGW32__)
[37] Fix | Delete
#if (__GNUC__ == 4) && (__GNUC_MINOR__ == 8)
[38] Fix | Delete
[39] Fix | Delete
#ifdef trace
[40] Fix | Delete
#undef trace
[41] Fix | Delete
#define TRACE
[42] Fix | Delete
#endif
[43] Fix | Delete
[44] Fix | Delete
#endif /* broken compiler */
[45] Fix | Delete
#endif /* MingW */
[46] Fix | Delete
[47] Fix | Delete
/*
[48] Fix | Delete
* For reentrant code, we map the various global variables into SCREEN by
[49] Fix | Delete
* using functions to access them.
[50] Fix | Delete
*/
[51] Fix | Delete
#define NCURSES_PUBLIC_VAR(name) _nc_##name
[52] Fix | Delete
#define NCURSES_WRAPPED_VAR(type,name) extern type NCURSES_PUBLIC_VAR(name)(void)
[53] Fix | Delete
[54] Fix | Delete
/* no longer needed on cygwin or mingw, thanks to auto-import */
[55] Fix | Delete
/* but this structure may be useful at some point for an MSVC build */
[56] Fix | Delete
/* so, for now unconditionally define the important flags */
[57] Fix | Delete
/* "the right way" for proper static and dll+auto-import behavior */
[58] Fix | Delete
#undef NCURSES_DLL
[59] Fix | Delete
#define NCURSES_STATIC
[60] Fix | Delete
[61] Fix | Delete
#if defined(__CYGWIN__) || defined(__MINGW32__)
[62] Fix | Delete
# if defined(NCURSES_DLL)
[63] Fix | Delete
# if defined(NCURSES_STATIC)
[64] Fix | Delete
# undef NCURSES_STATIC
[65] Fix | Delete
# endif
[66] Fix | Delete
# endif
[67] Fix | Delete
# undef NCURSES_IMPEXP
[68] Fix | Delete
# undef NCURSES_API
[69] Fix | Delete
# undef NCURSES_EXPORT
[70] Fix | Delete
# undef NCURSES_EXPORT_VAR
[71] Fix | Delete
# if defined(NCURSES_DLL)
[72] Fix | Delete
/* building a DLL */
[73] Fix | Delete
# define NCURSES_IMPEXP __declspec(dllexport)
[74] Fix | Delete
# elif defined(NCURSES_STATIC)
[75] Fix | Delete
/* building or linking to a static library */
[76] Fix | Delete
# define NCURSES_IMPEXP /* nothing */
[77] Fix | Delete
# else
[78] Fix | Delete
/* linking to the DLL */
[79] Fix | Delete
# define NCURSES_IMPEXP __declspec(dllimport)
[80] Fix | Delete
# endif
[81] Fix | Delete
# define NCURSES_API __cdecl
[82] Fix | Delete
# define NCURSES_EXPORT(type) NCURSES_IMPEXP type NCURSES_API
[83] Fix | Delete
# define NCURSES_EXPORT_VAR(type) NCURSES_IMPEXP type
[84] Fix | Delete
#endif
[85] Fix | Delete
[86] Fix | Delete
/* Take care of non-cygwin platforms */
[87] Fix | Delete
#if !defined(NCURSES_IMPEXP)
[88] Fix | Delete
# define NCURSES_IMPEXP /* nothing */
[89] Fix | Delete
#endif
[90] Fix | Delete
#if !defined(NCURSES_API)
[91] Fix | Delete
# define NCURSES_API /* nothing */
[92] Fix | Delete
#endif
[93] Fix | Delete
#if !defined(NCURSES_EXPORT)
[94] Fix | Delete
# define NCURSES_EXPORT(type) NCURSES_IMPEXP type NCURSES_API
[95] Fix | Delete
#endif
[96] Fix | Delete
#if !defined(NCURSES_EXPORT_VAR)
[97] Fix | Delete
# define NCURSES_EXPORT_VAR(type) NCURSES_IMPEXP type
[98] Fix | Delete
#endif
[99] Fix | Delete
[100] Fix | Delete
#endif /* NCURSES_DLL_H_incl */
[101] Fix | Delete
[102] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function