diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2026-03-01 09:18:26 +0200 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2026-03-01 09:18:26 +0200 |
| commit | 047718235df457cae482eb0f92b06697964f37a6 (patch) | |
| tree | eb63e295dd0cc1b12f4027f125c0415f6c66f803 /config.h.in | |
| parent | 4d9826548a8ea82a71cf70e9f60704909966d038 (diff) | |
dfm: add initial macOS support.
Thanks to Pinix for the report and necessary changes.
Diffstat (limited to 'config.h.in')
| -rw-r--r-- | config.h.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in index d4f1218..933ce46 100644 --- a/config.h.in +++ b/config.h.in @@ -170,10 +170,14 @@ // // OS specific flags. // -#ifdef __linux__ +#if defined(__linux__) #define _GNU_SOURCE #define _BSD_SOURCE #define _POSIX_C_SOURCE 200809L + +#elif defined(__APPLE__) +#define _DARWIN_C_SOURCE +#define _POSIX_C_SOURCE 200809L #endif // |