Ticket #3930: clarify name of struct stat members for Apple compilation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Samuel Bingner 2018-08-19 11:37:20 +03:00 committed by Andrew Borodin
parent 5656ff5e84
commit d352220604

View File

@ -137,6 +137,13 @@
#define OS_SORT_CASE_SENSITIVE_DEFAULT TRUE
#define UTF8_CHAR_LEN 6
/* struct stat members */
#ifdef __APPLE__
#define st_atim st_atimespec
#define st_ctim st_ctimespec
#define st_mtim st_mtimespec
#endif
/* Used to distinguish between a normal MC termination and */
/* one caused by typing 'exit' or 'logout' in the subshell */
#define SUBSHELL_EXIT 128