2017-09-01 04:24:20 +08:00
|
|
|
/* Define to 1 if you have the `backtrace_symbols' function. */
|
|
|
|
#cmakedefine HAVE_BACKTRACE_SYMBOLS 1
|
|
|
|
|
2018-03-05 11:13:31 +08:00
|
|
|
/* Define to 1 if compiled on WSL */
|
|
|
|
#cmakedefine WSL 1
|
2019-01-02 14:12:07 +08:00
|
|
|
|
2017-09-01 04:24:20 +08:00
|
|
|
/* Define to 1 if you have the `ctermid_r' function. */
|
|
|
|
#cmakedefine HAVE_CTERMID_R 1
|
|
|
|
|
2020-05-23 04:31:25 +08:00
|
|
|
/* Define to 1 if C++11 thread_local is supported. */
|
|
|
|
#cmakedefine HAVE_CX11_THREAD_LOCAL 1
|
|
|
|
|
2017-09-01 04:24:20 +08:00
|
|
|
/* Define to 1 if you have the `dirfd' function. */
|
|
|
|
#cmakedefine HAVE_DIRFD 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <execinfo.h> header file. */
|
|
|
|
#cmakedefine HAVE_EXECINFO_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `flock' function. */
|
|
|
|
#cmakedefine HAVE_FLOCK 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getifaddrs' function. */
|
|
|
|
#cmakedefine HAVE_GETIFADDRS 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getpwent' function. */
|
|
|
|
#cmakedefine HAVE_GETPWENT 1
|
|
|
|
|
2019-04-11 04:58:29 +08:00
|
|
|
/* Define to 1 if you have the 'getrusage' function. */
|
|
|
|
#cmakedefine HAVE_GETRUSAGE 1
|
|
|
|
|
2017-09-01 04:24:20 +08:00
|
|
|
/* Define to 1 if you have the `gettext' function. */
|
|
|
|
#cmakedefine HAVE_GETTEXT 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `killpg' function. */
|
|
|
|
#cmakedefine HAVE_KILLPG 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `mkostemp' function. */
|
|
|
|
#cmakedefine HAVE_MKOSTEMP 1
|
|
|
|
|
2018-02-04 16:59:03 +08:00
|
|
|
/* Define to 1 if you have the <curses.h> header file. */
|
|
|
|
#cmakedefine HAVE_CURSES_H 1
|
|
|
|
|
2017-09-01 04:24:20 +08:00
|
|
|
/* Define to 1 if you have the <ncurses/curses.h> header file. */
|
|
|
|
#cmakedefine HAVE_NCURSES_CURSES_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <ncurses.h> header file. */
|
|
|
|
#cmakedefine HAVE_NCURSES_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <ncurses/term.h> header file. */
|
|
|
|
#cmakedefine HAVE_NCURSES_TERM_H 1
|
|
|
|
|
2021-02-07 09:44:40 +08:00
|
|
|
/* Define to 1 if you have the 'eventfd' function. */
|
|
|
|
#cmakedefine HAVE_EVENTFD 1
|
|
|
|
|
2021-02-06 03:32:32 +08:00
|
|
|
/* Define to 1 if you have the 'pipe2' function. */
|
|
|
|
#cmakedefine HAVE_PIPE2 1
|
|
|
|
|
2017-09-01 04:24:20 +08:00
|
|
|
/* Define to 1 if you have the <siginfo.h> header file. */
|
|
|
|
#cmakedefine HAVE_SIGINFO_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <spawn.h> header file. */
|
|
|
|
#cmakedefine HAVE_SPAWN_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `std::wcscasecmp' function. */
|
|
|
|
#cmakedefine HAVE_STD__WCSCASECMP 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `std::wcsdup' function. */
|
|
|
|
#cmakedefine HAVE_STD__WCSDUP 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `std::wcsncasecmp' function. */
|
|
|
|
#cmakedefine HAVE_STD__WCSNCASECMP 1
|
|
|
|
|
|
|
|
/* Define to 1 if `d_type' is a member of `struct dirent'. */
|
|
|
|
#cmakedefine HAVE_STRUCT_DIRENT_D_TYPE 1
|
|
|
|
|
|
|
|
/* Define to 1 if `st_ctime_nsec' is a member of `struct stat'. */
|
|
|
|
#cmakedefine HAVE_STRUCT_STAT_ST_CTIME_NSEC 1
|
|
|
|
|
|
|
|
/* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */
|
|
|
|
#cmakedefine HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1
|
|
|
|
|
|
|
|
/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
|
|
|
|
#cmakedefine HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
|
|
|
#cmakedefine HAVE_SYS_IOCTL_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
|
|
|
#cmakedefine HAVE_SYS_SELECT_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/sysctl.h> header file. */
|
|
|
|
#cmakedefine HAVE_SYS_SYSCTL_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <term.h> header file. */
|
|
|
|
#cmakedefine HAVE_TERM_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `wcscasecmp' function. */
|
|
|
|
#cmakedefine HAVE_WCSCASECMP 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `wcsdup' function. */
|
|
|
|
#cmakedefine HAVE_WCSDUP 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `wcslcpy' function. */
|
|
|
|
#cmakedefine HAVE_WCSLCPY 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `wcsncasecmp' function. */
|
|
|
|
#cmakedefine HAVE_WCSNCASECMP 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `wcsndup' function. */
|
|
|
|
#cmakedefine HAVE_WCSNDUP 1
|
|
|
|
|
2018-12-31 17:07:52 +08:00
|
|
|
/* Define to 1 if you have the `wcstod_l' function. */
|
|
|
|
#cmakedefine HAVE_WCSTOD_L 1
|
|
|
|
|
2017-09-01 04:24:20 +08:00
|
|
|
/* Define to 1 if the winsize struct and TIOCGWINSZ macro exist */
|
|
|
|
#cmakedefine HAVE_WINSIZE 1
|
|
|
|
|
|
|
|
/* Define to 1 if the _nl_msg_cat_cntr symbol is exported. */
|
|
|
|
#cmakedefine HAVE__NL_MSG_CAT_CNTR 1
|
|
|
|
|
2019-12-22 08:19:22 +08:00
|
|
|
/* Define to 1 if std::make_unique is available. */
|
|
|
|
#cmakedefine HAVE_STD__MAKE_UNIQUE 1
|
|
|
|
|
2021-10-03 07:47:17 +08:00
|
|
|
/* Define to use clock_gettime and futimens to hack around Linux mtime issue */
|
|
|
|
#cmakedefine UVAR_FILE_SET_MTIME_HACK 1
|
|
|
|
|
2017-09-01 04:24:20 +08:00
|
|
|
/* Define to 1 to disable ncurses macros that conflict with the STL */
|
|
|
|
#define NCURSES_NOMACROS 1
|
|
|
|
|
|
|
|
/* Define to 1 to disable curses macros that conflict with the STL */
|
|
|
|
#define NOMACROS 1
|
|
|
|
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
2018-12-11 18:47:34 +08:00
|
|
|
#define PACKAGE_BUGREPORT "https://github.com/fish-shell/fish-shell/issues"
|
2017-09-01 04:24:20 +08:00
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#define PACKAGE_NAME "fish"
|
|
|
|
|
2020-02-19 06:04:35 +08:00
|
|
|
/* Use a variadic tparm on NetBSD curses. */
|
|
|
|
#cmakedefine TPARM_VARARGS 1
|
|
|
|
|
2021-09-23 15:53:38 +08:00
|
|
|
/* The parameter type for the last tputs parameter */
|
|
|
|
#cmakedefine TPUTS_USES_INT_ARG 1
|
|
|
|
|
2019-11-25 19:03:25 +08:00
|
|
|
/* Define to 1 if tparm accepts a fixed amount of parameters. */
|
2017-11-17 16:21:15 +08:00
|
|
|
#cmakedefine TPARM_SOLARIS_KLUDGE 1
|
2017-09-01 04:24:20 +08:00
|
|
|
|
2018-12-20 21:36:01 +08:00
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
# define _GNU_SOURCE 1
|
|
|
|
#endif
|
|
|
|
|
2017-09-01 04:24:20 +08:00
|
|
|
/* The size of wchar_t in bits. */
|
|
|
|
#define WCHAR_T_BITS ${WCHAR_T_BITS}
|
|
|
|
|
2019-01-11 09:51:12 +08:00
|
|
|
/* Define if xlocale.h is required for locale_t or wide character support */
|
|
|
|
#cmakedefine HAVE_XLOCALE_H 1
|
|
|
|
|
2021-10-14 03:09:40 +08:00
|
|
|
/* Define if uselocale is available */
|
|
|
|
#cmakedefine HAVE_USELOCALE 1
|
|
|
|
|
2017-09-01 04:24:20 +08:00
|
|
|
/* Enable large inode numbers on Mac OS X 10.5. */
|
|
|
|
#ifndef _DARWIN_USE_64_BIT_INODE
|
|
|
|
# define _DARWIN_USE_64_BIT_INODE 1
|
|
|
|
#endif
|
|
|
|
|
2020-09-08 07:03:22 +08:00
|
|
|
/* Define to 1 if mbrtowc attempts to convert invalid UTF-8 sequences */
|
|
|
|
#cmakedefine HAVE_BROKEN_MBRTOWC_UTF8 1
|
|
|
|
|
2020-07-26 03:39:06 +08:00
|
|
|
/* Support __warn_unused on function return values. */
|
2017-09-01 04:24:20 +08:00
|
|
|
#if __GNUC__ >= 3
|
|
|
|
#ifndef __warn_unused
|
|
|
|
#define __warn_unused __attribute__ ((warn_unused_result))
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#define __warn_unused
|
|
|
|
#endif
|
2020-07-26 03:39:06 +08:00
|
|
|
|
|
|
|
/* Like __warn_unused, but applies to a type.
|
|
|
|
At the moment only clang supports this as a type attribute.
|
2020-12-17 00:06:48 +08:00
|
|
|
|
|
|
|
We need to check for __has_attribute being a thing before or old gcc fails - #7554.
|
2020-07-26 03:39:06 +08:00
|
|
|
*/
|
2020-12-17 00:06:48 +08:00
|
|
|
#ifndef __has_attribute
|
|
|
|
#define __has_attribute(x) 0 // Compatibility with non-clang and old gcc compilers.
|
|
|
|
#endif
|
|
|
|
|
2020-07-26 03:39:06 +08:00
|
|
|
#if defined(__clang__) && __has_attribute(warn_unused_result)
|
|
|
|
#ifndef __warn_unused_type
|
|
|
|
#define __warn_unused_type __attribute__ ((warn_unused_result))
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#define __warn_unused_type
|
|
|
|
#endif
|
2021-02-07 07:01:17 +08:00
|
|
|
|
|
|
|
#if __has_attribute(fallthrough)
|
2021-02-07 07:17:28 +08:00
|
|
|
#define __fallthrough__ __attribute__ ((fallthrough));
|
2021-02-07 07:01:17 +08:00
|
|
|
#else
|
|
|
|
#define __fallthrough__
|
|
|
|
#endif
|