mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix build on older GNU/Linux systems without statx
This commit is contained in:
parent
c2ef2fced5
commit
b490233988
1 changed files with 1 additions and 1 deletions
2
src/fs.c
2
src/fs.c
|
|
@ -178,7 +178,7 @@ char* fs_search_directory(const char *dir_path, const char *dirname)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__) && defined(STATX_BTIME)
|
||||||
|
|
||||||
// Function to return creation time of file
|
// Function to return creation time of file
|
||||||
double fs_get_creation_time(const char *path)
|
double fs_get_creation_time(const char *path)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue