diff options
author | Michael Reed <m.reed@mykolab.com> | 2016-01-11 01:37:15 -0500 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2016-01-12 12:26:15 -0500 |
commit | f65d58907d9ff613294c496fb54cc0e9c8e6ad73 (patch) | |
tree | 886d01223fa0a6f63f8bda0d9f0ca7e1e2c31a4f /config/CMakeLists.txt | |
parent | a1c770ca2713b2d269f75390fede83c678b6e3df (diff) | |
download | rneovim-f65d58907d9ff613294c496fb54cc0e9c8e6ad73.tar.gz rneovim-f65d58907d9ff613294c496fb54cc0e9c8e6ad73.tar.bz2 rneovim-f65d58907d9ff613294c496fb54cc0e9c8e6ad73.zip |
os/*_defs.h: MAXNAMLEN cleanup
For non-Windows systems, we assume that NAME_MAX is in <limits.h>, as
specified in POSIX.1-2008[1]. For Windows, which doesn't have NAME_MAX,
just define it ourselves to _MAX_PATH[2].
Also, remove two (now unused) HAVE_*_H checks.
[1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html
[2]: https://msdn.microsoft.com/en-us/library/930f87yf.aspx
Helped-by: Seth Jackson
Diffstat (limited to 'config/CMakeLists.txt')
-rw-r--r-- | config/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt index c64e7e1ddb..28b1e43ef7 100644 --- a/config/CMakeLists.txt +++ b/config/CMakeLists.txt @@ -16,7 +16,6 @@ check_type_size("void *" SIZEOF_VOID_PTR) check_symbol_exists(_NSGetEnviron crt_externs.h HAVE__NSGETENVIRON) # Headers -check_include_files(dirent.h HAVE_DIRENT_H) check_include_files(fcntl.h HAVE_FCNTL_H) check_include_files(iconv.h HAVE_ICONV_H) check_include_files(langinfo.h HAVE_LANGINFO_H) @@ -25,7 +24,6 @@ check_include_files(locale.h HAVE_LOCALE_H) check_include_files(pwd.h HAVE_PWD_H) check_include_files(strings.h HAVE_STRINGS_H) check_include_files(stropts.h HAVE_STROPTS_H) -check_include_files(sys/param.h HAVE_SYS_PARAM_H) check_include_files(sys/wait.h HAVE_SYS_WAIT_H) if(NOT HAVE_SYS_WAIT_H AND UNIX) # See if_cscope.c |