mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
99aacb1429
Removed unneeded platform checks from config/config.h.in and config/CMakeLists.txt - HAVE_OSPEED and HAVE_UP_BC_PC were used by the old UI, and are no longer needed. - sigvec() was used as part of the signal handling code in os_unix.c, but it is no longer used in Neovim. - The function lstat() is no longer used, replaced with libuv.
70 lines
1.6 KiB
C
70 lines
1.6 KiB
C
#ifndef AUTO_CONFIG_H
|
|
#define AUTO_CONFIG_H
|
|
|
|
#cmakedefine DEBUG
|
|
|
|
#define SIZEOF_INT @SIZEOF_INT@
|
|
#define SIZEOF_LONG @SIZEOF_LONG@
|
|
#define SIZEOF_OFF_T @SIZEOF_OFF_T@
|
|
|
|
#if @SIZEOF_VOID_PTR@ == 8
|
|
#define ARCH_64
|
|
#elif @SIZEOF_VOID_PTR@ == 4
|
|
#define ARCH_32
|
|
#endif
|
|
|
|
#cmakedefine HAVE__NSGETENVIRON
|
|
#cmakedefine HAVE_CRT_EXTERNS_H
|
|
#cmakedefine HAVE_FCNTL_H
|
|
#cmakedefine HAVE_FD_CLOEXEC
|
|
#cmakedefine HAVE_FSEEKO
|
|
#cmakedefine HAVE_FSYNC
|
|
#cmakedefine HAVE_GETPWENT
|
|
#cmakedefine HAVE_GETPWNAM
|
|
#cmakedefine HAVE_GETPWUID
|
|
#cmakedefine HAVE_ICONV
|
|
#cmakedefine HAVE_ICONV_H
|
|
#cmakedefine HAVE_LANGINFO_H
|
|
#cmakedefine HAVE_LIBGEN_H
|
|
#cmakedefine HAVE_LOCALE_H
|
|
#cmakedefine HAVE_NL_LANGINFO_CODESET
|
|
#cmakedefine HAVE_NL_MSG_CAT_CNTR
|
|
#cmakedefine HAVE_PUTENV
|
|
#cmakedefine HAVE_PWD_H
|
|
#cmakedefine HAVE_READLINK
|
|
// TODO: add proper cmake check
|
|
// #define HAVE_SELINUX 1
|
|
#cmakedefine HAVE_SETENV
|
|
#cmakedefine HAVE_UNSETENV
|
|
#cmakedefine HAVE_SETPGID
|
|
#cmakedefine HAVE_SETSID
|
|
#cmakedefine HAVE_SIGACTION
|
|
#cmakedefine HAVE_STRCASECMP
|
|
#cmakedefine HAVE_STRINGS_H
|
|
#cmakedefine HAVE_STRNCASECMP
|
|
#cmakedefine HAVE_STROPTS_H
|
|
#cmakedefine HAVE_SYS_PARAM_H
|
|
#cmakedefine HAVE_SYS_TIME_H
|
|
#cmakedefine HAVE_SYS_UTSNAME_H
|
|
#cmakedefine HAVE_SYS_WAIT_H
|
|
#cmakedefine HAVE_UNISTD_H
|
|
#cmakedefine HAVE_UTIME
|
|
#cmakedefine HAVE_UTIME_H
|
|
#cmakedefine HAVE_UTIMES
|
|
#cmakedefine HAVE_WORKING_LIBINTL
|
|
#define RETSIGTYPE void
|
|
#define SIGRETURN return
|
|
#define TIME_WITH_SYS_TIME 1
|
|
#cmakedefine UNIX
|
|
#cmakedefine USE_FNAME_CASE
|
|
#define USEMAN_S 1
|
|
|
|
#define FEAT_BROWSE
|
|
#define FEAT_CSCOPE
|
|
|
|
#ifndef UNIT_TESTING
|
|
#cmakedefine HAVE_JEMALLOC
|
|
#endif
|
|
|
|
#endif // AUTO_CONFIG_H
|