mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
For consistency, specify the nanosecond option in the same way as other options, and identify it as such. Split the detection of platform support (`FindStatNsec`) and its selection (`SelectNsec`).
7 lines
332 B
CMake
7 lines
332 B
CMake
check_struct_has_member("struct stat" st_mtim "sys/types.h;sys/stat.h"
|
|
HAVE_STRUCT_STAT_ST_MTIM LANGUAGE C)
|
|
check_struct_has_member("struct stat" st_mtimespec "sys/types.h;sys/stat.h"
|
|
HAVE_STRUCT_STAT_ST_MTIMESPEC LANGUAGE C)
|
|
check_struct_has_member("struct stat" st_mtime_nsec sys/stat.h
|
|
HAVE_STRUCT_STAT_MTIME_NSEC LANGUAGE C)
|