mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
cmake: use correct syntax for CheckStructHasMember
Correctly detect the dirent member d_type on systems that have it.
This commit is contained in:
parent
de9f034318
commit
8f7d68ee3e
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ CHECK_FUNCTION_EXISTS(backtrace_symbols HAVE_BACKTRACE_SYMBOLS)
|
||||||
CHECK_FUNCTION_EXISTS(clock_gettime HAVE_CLOCK_GETTIME)
|
CHECK_FUNCTION_EXISTS(clock_gettime HAVE_CLOCK_GETTIME)
|
||||||
CHECK_FUNCTION_EXISTS(ctermid_r HAVE_CTERMID_R)
|
CHECK_FUNCTION_EXISTS(ctermid_r HAVE_CTERMID_R)
|
||||||
CHECK_INCLUDE_FILES(curses.h HAVE_CURSES_H)
|
CHECK_INCLUDE_FILES(curses.h HAVE_CURSES_H)
|
||||||
CHECK_STRUCT_HAS_MEMBER(dirent d_type dirent.h HAVE_STRUCT_DIRENT_D_TYPE)
|
CHECK_STRUCT_HAS_MEMBER("struct dirent" d_type dirent.h HAVE_STRUCT_DIRENT_D_TYPE)
|
||||||
CHECK_FUNCTION_EXISTS(dirfd HAVE_DIRFD)
|
CHECK_FUNCTION_EXISTS(dirfd HAVE_DIRFD)
|
||||||
CHECK_INCLUDE_FILES(execinfo.h HAVE_EXECINFO_H)
|
CHECK_INCLUDE_FILES(execinfo.h HAVE_EXECINFO_H)
|
||||||
CHECK_FUNCTION_EXISTS(flock HAVE_FLOCK)
|
CHECK_FUNCTION_EXISTS(flock HAVE_FLOCK)
|
||||||
|
|
Loading…
Reference in a new issue