Merge branch '3930_apple_stat_members'

* 3930_apple_stat_members:
  Ticket #3930: clarify name of struct stat members for Apple compilation.
This commit is contained in:
Andrew Borodin 2018-08-19 11:39:08 +03:00
commit 4059d3ab6e
1 changed files with 7 additions and 0 deletions

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