📄 setup.h
字号:
/* * Define if the compiler supports variadic macros */#define HAVE_VARIADIC_MACROS 1/* * Define if your compiler has std::wstring */#define HAVE_STD_WSTRING 1/* * Define if your compiler has compliant std::string::compare *//* #undef HAVE_STD_STRING_COMPARE *//* * Define if your compiler has <hash_map> *//* #undef HAVE_HASH_MAP *//* * Define if your compiler has <ext/hash_map> *//* #undef HAVE_EXT_HASH_MAP *//* * Define if your compiler has std::hash_map/hash_set *//* #undef HAVE_STD_HASH_MAP *//* * Define if your compiler has __gnu_cxx::hash_map/hash_set *//* #undef HAVE_GNU_CXX_HASH_MAP *//* * The built-in regex supports advanced REs in additional to POSIX's basic * and extended. Your system regex probably won't support this, and in this * case WX_NO_REGEX_ADVANCED should be defined. *//* #undef WX_NO_REGEX_ADVANCED *//* * On GNU systems use re_search instead of regexec, since the latter does a * strlen on the search text affecting the performance of some operations. *//* #undef HAVE_RE_SEARCH *//* * Use SDL for audio (Unix) */#define wxUSE_LIBSDL 0/* * Compile sound backends as plugins */#define wxUSE_PLUGINS 0/* * Use GNOME print for printing under GTK+ 2.0 */#define wxUSE_LIBGNOMEPRINT 0/* * Use GNOME VFS for MIME types */#define wxUSE_LIBGNOMEVFS 0/* * Use the Hildon framework */#define wxUSE_LIBHILDON 0/* * Use iODBC */#define wxUSE_BUILTIN_IODBC 0/* * Use freetype */#define wxUSE_FREETYPE 0/* * Have glibc2 */#define wxHAVE_GLIBC2 1/* * Use libXpm */#define wxHAVE_LIB_XPM 0/* * Define if you have pthread_cleanup_push/pop() */#define wxHAVE_PTHREAD_CLEANUP 1/* * Use consistent PostScript fonts for AFM and printing (!) */#define wxUSE_NORMALIZED_PS_FONTS 1/* compatibility */#define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS/* * Use OpenGL */#define wxUSE_OPENGL 0/* * Set to 1 to compile MS Windows XP theme engine support */#define wxUSE_UXTHEME 1/* * Set to 1 to auto-adapt to MS Windows XP themes where possible * (notably, wxNotebook pages) */#define wxUSE_UXTHEME_AUTO 1/* * Work around a bug in GNU libc 5.x wcstombs() implementation. * * Note that you must link your programs with libc.a if you enable this and you * have libc 5 (you should enable this for libc6 where wcsrtombs() is * thread-safe version of wcstombs()). */#define wxUSE_WCSRTOMBS 0/* * Use the new experimental implementation of wxString::Printf()? * * Warning: enabling this may cause internal compiler errors with gcc! */#define wxUSE_EXPERIMENTAL_PRINTF 0/* * Use wxGetResource & wxWriteResource (change .Xdefaults) */#define wxUSE_X_RESOURCES 0/* * Use OLE and OLE Automation (MSW only) */#define wxUSE_OLE 0#define wxUSE_OLE_AUTOMATION 0#define wxUSE_ACTIVEX 0/* for compatibility */#define wxUSE_WX_RESOURCES wxUSE_RESOURCES/* * Use MS HTML Help via libmspack (Unix) */#define wxUSE_LIBMSPACK 0/* * Matthews garbage collection (used for MrEd?) */#define WXGARBAGE_COLLECTION_ON 0/* * wxWebKitCtrl */#define wxUSE_WEBKIT 0/* * The const keyword is being introduced more in wxWindows. * You can use this setting to maintain backward compatibility. * If 0: will use const wherever possible. * If 1: will use const only where necessary * for precompiled headers to work. * If 2: will be totally backward compatible, but precompiled * headers may not work and program size will be larger. */#define CONST_COMPATIBILITY 0/* * use the session manager to detect KDE/GNOME */#define wxUSE_DETECT_SM 1/* define with the name of timezone variable */#define WX_TIMEZONE timezone/* The type of 3rd argument to getsockname() - usually size_t or int */#define WX_SOCKLEN_T socklen_t/* The type of 5th argument to getsockopt() - usually size_t or int */#define SOCKOPTLEN_T socklen_t/* The type of statvfs(2) argument */#define WX_STATFS_T struct statfs/* The signal handler prototype */#define wxTYPE_SA_HANDLER int/* gettimeofday() usually takes 2 arguments, but some really old systems might * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ *//* #undef WX_GETTIMEOFDAY_NO_TZ *//* struct tm doesn't always have the tm_gmtoff field, define this if it does */#define WX_GMTOFF_IN_TM 1/* Define if you have poll(2) function *//* #undef HAVE_POLL *//* Define if you have pw_gecos field in struct passwd */#define HAVE_PW_GECOS 1/* Define if you have __cxa_demangle() in <cxxabi.h> */#define HAVE_CXA_DEMANGLE 1/* Define if you have dlopen() */#define HAVE_DLOPEN 1/* Define if you have gettimeofday() */#define HAVE_GETTIMEOFDAY 1/* Define if fsync() is available */#define HAVE_FSYNC 1/* Define if you have ftime() *//* #undef HAVE_FTIME *//* Define if round() is available */#define HAVE_ROUND 1/* Define if you have support for large (64 bit size) files */#define HAVE_LARGEFILE_SUPPORT 1/* Define if you have localtime() */#define HAVE_LOCALTIME 1/* Define if you have nanosleep() */#define HAVE_NANOSLEEP 1/* Define if you have sched_yield */#define HAVE_SCHED_YIELD 1/* Define if you have pthread_mutexattr_t and functions to work with it */#define HAVE_PTHREAD_MUTEXATTR_T 1/* Define if you have pthread_mutexattr_settype() declaration */#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1/* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP *//* #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER *//* Define if you have pthread_cancel */#define HAVE_PTHREAD_CANCEL 1/* Define if you have pthread_attr_setstacksize */#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1/* Define if you have sigaction() */#define HAVE_SIGACTION 1/* Define if you have sigemptyset() *//* #undef HAVE_SIGEMPTYSET *//* Define if you have shl_load() *//* #undef HAVE_SHL_LOAD *//* Define if you have snprintf() */#define HAVE_SNPRINTF 1/* Define if you have snprintf() declaration in the header */#define HAVE_SNPRINTF_DECL 1/* Define if you have a _broken_ snprintf() declaration in the header, * with 'char*' for the 3rd parameter instead of 'const char*' *//* #undef HAVE_BROKEN_SNPRINTF_DECL *//* Define if you have a snprintf() which supports positional arguments (defined in the unix98 standard) */#define HAVE_UNIX98_PRINTF 1/* define if you have statfs function */#define HAVE_STATFS 1/* define if you have statfs prototype */#define HAVE_STATFS_DECL 1/* define if you have statvfs function *//* #undef HAVE_STATVFS *//* Define if you have strptime() */#define HAVE_STRPTIME 1/* Define if strptime() is declared in headers */#define HAVE_STRPTIME_DECL 1/* Define if you have strtoull() and strtoll() */#define HAVE_STRTOULL 1/* Define if you have all functions to set thread priority */#define HAVE_THREAD_PRIORITY_FUNCTIONS 1/* Define if you have timegm() function */#define HAVE_TIMEGM 1/* Define if you have vsnprintf() */#define HAVE_VSNPRINTF 1/* Define if you have vsnprintf() declaration in the header */#define HAVE_VSNPRINTF_DECL 1/* Define if you have a _broken_ vsnprintf() declaration in the header, * with 'char*' for the 3rd parameter instead of 'const char*' *//* #undef HAVE_BROKEN_VSNPRINTF_DECL *//* Define if you have usleep() *//* #undef HAVE_USLEEP *//* Define if you have wcslen function */#define HAVE_WCSLEN 1/* Define if you have wcstoull() and wcstoll() *//* #undef HAVE_WCSTOULL *//* define if you have vsscanf function *//* #undef HAVE_VSSCANF *//* The number of bytes in a char. */#define SIZEOF_CHAR 1/* The number of bytes in a wchar_t. */#define SIZEOF_WCHAR_T 4/* The number of bytes in a int. */#define SIZEOF_INT 4/* The number of bytes in a pointer. */#define SIZEOF_VOID_P 4/* The number of bytes in a long. */#define SIZEOF_LONG 4/* The number of bytes in a long long. */#define SIZEOF_LONG_LONG 8/* The number of bytes in a short. */#define SIZEOF_SHORT 2/* The number of bytes in a size_t. */#define SIZEOF_SIZE_T 4/* Define if size_t on your machine is the same type as unsigned int. */#define wxSIZE_T_IS_UINT 1/* Define if size_t on your machine is the same type as unsigned long. *//* #undef wxSIZE_T_IS_ULONG *//* Define if you have the dlopen function. */#define HAVE_DLOPEN 1/* Define if you have the dlerror function. */#define HAVE_DLERROR 1/* Define if you have Posix fnctl() function. */#define HAVE_FCNTL 1/* Define if you have BSD flock() function. *//* #undef HAVE_FLOCK *//* Define if you have getaddrinfo function. *//* #undef HAVE_GETADDRINFO *//* Define if you have a gethostbyname_r function taking 6 arguments. */#define HAVE_FUNC_GETHOSTBYNAME_R_6 1/* Define if you have a gethostbyname_r function taking 5 arguments. *//* #undef HAVE_FUNC_GETHOSTBYNAME_R_5 *//* Define if you have a gethostbyname_r function taking 3 arguments. *//* #undef HAVE_FUNC_GETHOSTBYNAME_R_3 *//* Define if you only have a gethostbyname function *//* #undef HAVE_GETHOSTBYNAME *//* Define if you have the gethostname function. *//* #undef HAVE_GETHOSTNAME *//* Define if you have a getservbyname_r function taking 6 arguments. */#define HAVE_FUNC_GETSERVBYNAME_R_6 1/* Define if you have a getservbyname_r function taking 5 arguments. *//* #undef HAVE_FUNC_GETSERVBYNAME_R_5 *//* Define if you have a getservbyname_r function taking 4 arguments. *//* #undef HAVE_FUNC_GETSERVBYNAME_R_4 *//* Define if you only have a getservbyname function *//* #undef HAVE_GETSERVBYNAME *//* Define if you have the gmtime_r function. */#define HAVE_GMTIME_R 1/* Define if you have the inet_addr function. */#define HAVE_INET_ADDR 1/* Define if you have the inet_aton function. */#define HAVE_INET_ATON 1/* Define if you have the localtime_r function. */#define HAVE_LOCALTIME_R 1/* Define if you have the mktemp function. *//* #undef HAVE_MKTEMP *//* Define if you have the mkstemp function. */#define HAVE_MKSTEMP 1/* Define if you have the nanosleep function. */#define HAVE_NANOSLEEP 1/* Define if you have the putenv function. */#define HAVE_PUTENV 1/* Define if you have the readdir_r function. */#define HAVE_READDIR_R 1/* Define if you have the setenv function. *//* #undef HAVE_SETENV *//* Define if you have the shl_load function. *//* #undef HAVE_SHL_LOAD *//* Define if you have strtok_r function. */#define HAVE_STRTOK_R 1/* Define if you have thr_setconcurrency function *//* #undef HAVE_THR_SETCONCURRENCY *//* Define if you have the uname function. */#define HAVE_UNAME 1/* Define if you have the usleep function. *//* #undef HAVE_USLEEP *//* Define if you have the <X11/XKBlib.h> header file. */#define HAVE_X11_XKBLIB_H 1/* Define if you have the <X11/extensions/xf86vmode.h> header file. */#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1/* Define if you have the fnmatch() function */#define HAVE_FNMATCH 1/* Define if you have the <fnmatch.h> header file. */#define HAVE_FNMATCH_H 1/* Define if you have the <iostream> header file. */#define HAVE_IOSTREAM 1/* Define if you have the <linux/joystick.h> header file. *//* #undef HAVE_LINUX_JOYSTICK_H *//* Define if you have the <sched.h> header file. */#define HAVE_SCHED_H 1/* Define if you have the <unistd.h> header file. */#define HAVE_UNISTD_H 1/* Define if you have the <fcntl.h> header file. *//* #undef HAVE_FCNTL_H *//* Define if you have the <wchar.h> header file. */#define HAVE_WCHAR_H 1/* Define if you have the <wcstr.h> header file. *//* #undef HAVE_WCSTR_H *//* Define if you have the <wctype.h> header file. *//* #undef HAVE_WCTYPE_H *//* Define if you have <widec.h> (Solaris only) *//* #undef HAVE_WIDEC_H *//* Define if you have the <iconv.h> header file and iconv() symbol. */#define HAVE_ICONV 1/* Define as "const" if the declaration of iconv() needs const. */#define ICONV_CONST /* Define if you have the <langinfo.h> header file. */#define HAVE_LANGINFO_H 1/* Define if you have the <w32api.h> header file (mingw,cygwin). *//* #undef HAVE_W32API_H *//* Define if you have the <esd.h> header file. */#define HAVE_ESD_H 1/* Define if you have the <sys/soundcard.h> header file. */#define HAVE_SYS_SOUNDCARD_H 1/* Define if you have a CD-ROM interface known to mmedia. */#define HAVE_KNOWN_CDROM_INTERFACE 1/* Define if you have wcsrtombs() function */#define HAVE_WCSRTOMBS 1/* Define this if you have wputc() *//* #undef HAVE_WPUTC *//* Define this if you have wputchar() *//* #undef HAVE_WPUTCHAR *//* Define this if you have putws() *//* #undef HAVE_PUTWS *//* Define this if you have fputws() */#define HAVE_FPUTWS 1/* Define this if you have strcasecmp() function in <string.h> */#define HAVE_STRCASECMP_IN_STRING_H 1/* Define this if you have strcasecmp() function in <strings.h> *//* #undef HAVE_STRCASECMP_IN_STRINGS_H *//* Define this if you have wprintf() and related functions */#define HAVE_WPRINTF 1/* Define this if you have swprintf() */#define HAVE_SWPRINTF 1/* Define if you have a _broken_ swprintf() declaration in the header, * without a 'size_t max' parameter as second argument *//* #undef HAVE_BROKEN_SWPRINTF_DECL *//* Define this if you have vswprintf() and related functions */#define HAVE_VSWPRINTF 1/* Define this if you have _vsnwprintf *//* #undef HAVE__VSNWPRINTF *//* Define if fseeko and ftello are available. */#define HAVE_FSEEKO 1/* Define this if you are using gtk and gdk contains support for X11R6 XIM *//* #undef HAVE_XIM *//* Define this if you have X11/extensions/shape.h */#define HAVE_XSHAPE 1/* Define this if you have type SPBCDATA *//* #undef HAVE_SPBCDATA *//* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */#define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1/* Define if gtk_icon_size_lookup is missing from the GTK+ headers *//* #undef NEED_GTK_ICON_SIZE_LOOKUP *//* Define if you have Pango xft support */#define HAVE_PANGO_XFT 1/* Define if you have the <sys/select.h> header file. */#define HAVE_SYS_SELECT_H 1/* Define if fdopen is available. */#define HAVE_FDOPEN 1/* ------------------------------------------------------------------------- Win32 adjustments section ------------------------------------------------------------------------- */#ifdef __WIN32__/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility with wx/msw/setup.h */#define wxUSE_XPM_IN_MSW wxUSE_XPM/* Set to 0 to disable PostScript print/preview architecture code under Windows (just use Windows printing). */#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1/* When using an external jpeg library and the Windows headers already define * boolean, define to the type used by the jpeg library for boolean. *//* #undef wxHACK_BOOLEAN *//* Define if the header pbt.h is missing. *//* #undef NEED_PBT_H */#endif /* __WIN32__ *//* --------------------------------------------------------* * This stuff is static, it doesn't get modified directly * by configure.*//* define some constants identifying wxWindows version in more details than just the version number *//* wxLogChain class available */#define wxHAS_LOG_CHAIN/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK *//* #undef wxHAS_WORKING_GTK_DC_BLIT */#endif /* __WX_SETUP_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -