mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
11dda658d6
Moves low-level functions handling to os/fs.c. Adds file.c with a proxy interface. Target: while leaving syscalls handling is os.c (partially handled by libuv), add buffering for reading and writing to file.c.
64 lines
1.5 KiB
C
64 lines
1.5 KiB
C
#ifndef AUTO_CONFIG_H
|
|
#define AUTO_CONFIG_H
|
|
|
|
#cmakedefine DEBUG
|
|
|
|
#define SIZEOF_INT @SIZEOF_INT@
|
|
#define SIZEOF_LONG @SIZEOF_LONG@
|
|
|
|
#if @SIZEOF_VOID_PTR@ == 8
|
|
#define ARCH_64
|
|
#elif @SIZEOF_VOID_PTR@ == 4
|
|
#define ARCH_32
|
|
#endif
|
|
|
|
#define PROJECT_NAME "@PROJECT_NAME@"
|
|
#define LOCALE_INSTALL_DIR "@CMAKE_INSTALL_FULL_LOCALEDIR@"
|
|
|
|
#cmakedefine HAVE__NSGETENVIRON
|
|
#cmakedefine HAVE_FD_CLOEXEC
|
|
#cmakedefine HAVE_FSEEKO
|
|
#cmakedefine HAVE_GETPWENT
|
|
#cmakedefine HAVE_GETPWNAM
|
|
#cmakedefine HAVE_GETPWUID
|
|
#cmakedefine HAVE_ICONV
|
|
#cmakedefine HAVE_ICONV_H
|
|
#cmakedefine HAVE_LANGINFO_H
|
|
#cmakedefine HAVE_LOCALE_H
|
|
#cmakedefine HAVE_NL_LANGINFO_CODESET
|
|
#cmakedefine HAVE_NL_MSG_CAT_CNTR
|
|
#cmakedefine HAVE_PUTENV_S
|
|
#cmakedefine HAVE_PWD_H
|
|
#cmakedefine HAVE_READLINK
|
|
#cmakedefine HAVE_UV_TRANSLATE_SYS_ERROR
|
|
// 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_SYS_UTSNAME_H
|
|
#cmakedefine HAVE_SYS_WAIT_H
|
|
#cmakedefine HAVE_UTIME
|
|
#cmakedefine HAVE_UTIME_H
|
|
#cmakedefine HAVE_UTIMES
|
|
#cmakedefine HAVE_WORKING_LIBINTL
|
|
#cmakedefine UNIX
|
|
#cmakedefine USE_FNAME_CASE
|
|
|
|
#cmakedefine FEAT_TUI
|
|
|
|
#ifndef UNIT_TESTING
|
|
#cmakedefine HAVE_JEMALLOC
|
|
#endif
|
|
|
|
#cmakedefine HAVE_BE64TOH
|
|
#cmakedefine ORDER_BIG_ENDIAN
|
|
#define ENDIAN_INCLUDE_FILE <@ENDIAN_INCLUDE_FILE@>
|
|
|
|
#endif // AUTO_CONFIG_H
|