Changeset View
Changeset View
Standalone View
Standalone View
lib/clang/include/llvm/Config/config.h
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | |||||
/* Define to 1 if you have the `pthread_getname_np' function. */ | /* Define to 1 if you have the `pthread_getname_np' function. */ | ||||
#define HAVE_PTHREAD_GETNAME_NP 1 | #define HAVE_PTHREAD_GETNAME_NP 1 | ||||
/* Define to 1 if you have the `pthread_setname_np' function. */ | /* Define to 1 if you have the `pthread_setname_np' function. */ | ||||
#define HAVE_PTHREAD_SETNAME_NP 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | ||||
/* Define to 1 if you have the <link.h> header file. */ | /* Define to 1 if you have the <link.h> header file. */ | ||||
#if __has_include(<link.h>) | |||||
#define HAVE_LINK_H 1 | #define HAVE_LINK_H 1 | ||||
#else | |||||
#define HAVE_LINK_H 0 | |||||
#endif | |||||
/* Define to 1 if you have the `lseek64' function. */ | /* Define to 1 if you have the `lseek64' function. */ | ||||
/* #undef HAVE_LSEEK64 */ | /* #undef HAVE_LSEEK64 */ | ||||
/* Define to 1 if you have the <mach/mach.h> header file. */ | /* Define to 1 if you have the <mach/mach.h> header file. */ | ||||
/* #undef HAVE_MACH_MACH_H */ | #if __has_include(<mach/mach.h>) | ||||
#define HAVE_MACH_MACH_H 1 | |||||
#endif | |||||
/* Define to 1 if you have the `mallctl' function. */ | /* Define to 1 if you have the `mallctl' function. */ | ||||
#ifdef __FreeBSD__ | |||||
#define HAVE_MALLCTL 1 | #define HAVE_MALLCTL 1 | ||||
#endif | |||||
/* Define to 1 if you have the `mallinfo' function. */ | /* Define to 1 if you have the `mallinfo' function. */ | ||||
/* #undef HAVE_MALLINFO */ | /* #undef HAVE_MALLINFO */ | ||||
/* Define to 1 if you have the <malloc/malloc.h> header file. */ | /* Define to 1 if you have the <malloc/malloc.h> header file. */ | ||||
/* #undef HAVE_MALLOC_MALLOC_H */ | #if __has_include(<malloc/malloc.h>) | ||||
#define HAVE_MALLOC_MALLOC_H 1 | |||||
#endif | |||||
/* Define to 1 if you have the `malloc_zone_statistics' function. */ | /* Define to 1 if you have the `malloc_zone_statistics' function. */ | ||||
/* #undef HAVE_MALLOC_ZONE_STATISTICS */ | #ifdef __APPLE__ | ||||
#define HAVE_MALLOC_ZONE_STATISTICS 1 | |||||
#endif | |||||
/* Define to 1 if you have the `posix_fallocate' function. */ | /* Define to 1 if you have the `posix_fallocate' function. */ | ||||
#ifdef __FreeBSD__ | |||||
#define HAVE_POSIX_FALLOCATE 1 | #define HAVE_POSIX_FALLOCATE 1 | ||||
#endif | |||||
/* Define to 1 if you have the `posix_spawn' function. */ | /* Define to 1 if you have the `posix_spawn' function. */ | ||||
#define HAVE_POSIX_SPAWN 1 | #define HAVE_POSIX_SPAWN 1 | ||||
/* Define to 1 if you have the `pread' function. */ | /* Define to 1 if you have the `pread' function. */ | ||||
#define HAVE_PREAD 1 | #define HAVE_PREAD 1 | ||||
/* Have pthread_getspecific */ | /* Have pthread_getspecific */ | ||||
▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
/* Define to 1 if stat struct has st_mtim member. */ | /* Define to 1 if stat struct has st_mtim member. */ | ||||
#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 | #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 | ||||
/* Define to 1 if you have the <sys/types.h> header file. */ | /* Define to 1 if you have the <sys/types.h> header file. */ | ||||
#define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | ||||
/* Define if the setupterm() function is supported this platform. */ | /* Define if the setupterm() function is supported this platform. */ | ||||
#define LLVM_ENABLE_TERMINFO 1 | #define LLVM_ENABLE_TERMINFO 1 | ||||
arichardson: This is why ncurses is not needed for macos but is on FreeBSD/Linux. Will upload a new patch… | |||||
Done Inline ActionsI think we should still enable it on FreeBSD, it works fine there already so this could potentially regress colours in certain weird cases. Simplifies the Makefiles too, you can use the same condition for execinfo as for ncursesw. jrtc27: I think we should still enable it on FreeBSD, it works fine there already so this could… | |||||
Done Inline ActionsThat's fine too. Since ncurses is assumed to be available unconditionally on the host that seems fine. The only problem I can think of is that it might cause issues for shared builds after upgrading ncurses soversion. Is that something we should worry about? arichardson: That's fine too. Since ncurses is assumed to be available unconditionally on the host that… | |||||
Done Inline ActionsWell that already needs to be handled carefully today, not a new issue. Plus bumping the ncurses soname is a rare event... jrtc27: Well that already needs to be handled carefully today, not a new issue. Plus bumping the… | |||||
/* Define if the xar_open() function is supported this platform. */ | /* Define if the xar_open() function is supported this platform. */ | ||||
/* #undef HAVE_LIBXAR */ | /* #undef HAVE_LIBXAR */ | ||||
/* Define to 1 if you have the <termios.h> header file. */ | /* Define to 1 if you have the <termios.h> header file. */ | ||||
#define HAVE_TERMIOS_H 1 | #define HAVE_TERMIOS_H 1 | ||||
/* Define to 1 if you have the <unistd.h> header file. */ | /* Define to 1 if you have the <unistd.h> header file. */ | ||||
▲ Show 20 Lines • Show All 127 Lines • Show Last 20 Lines |
This is why ncurses is not needed for macos but is on FreeBSD/Linux. Will upload a new patch that avoids terminfo for bootstrap tools.