mirror of
https://github.com/facebook/zstd.git
synced 2025-08-01 09:47:01 +03:00
Add Comment
This commit is contained in:
@ -145,6 +145,10 @@ int UTIL_setFileStat(const char *filename, stat_t *statbuf)
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
/* set access and modification times */
|
/* set access and modification times */
|
||||||
|
/* We check that st_mtime is a macro here in order to give us confidence
|
||||||
|
* that struct stat has a struct timespec st_mtim member. We need this
|
||||||
|
* check because there are some platforms that claim to be POSIX 2008
|
||||||
|
* compliant but which do not have st_mtim... */
|
||||||
#if (PLATFORM_POSIX_VERSION >= 200809L) && defined(st_mtime)
|
#if (PLATFORM_POSIX_VERSION >= 200809L) && defined(st_mtime)
|
||||||
{
|
{
|
||||||
/* (atime, mtime) */
|
/* (atime, mtime) */
|
||||||
|
Reference in New Issue
Block a user