Add _DARWIN_C_SOURCE if APPLE (#119)

This commit is contained in:
Matthew Thompson
2023-08-24 09:50:57 -04:00
committed by GitHub
parent 47b7084fa1
commit fd65f16827

View File

@@ -25,6 +25,10 @@
#define _GNU_SOURCE
#elif defined(__APPLE__)
#define _DARWIN_C_SOURCE
#elif defined(__sun__)
#define _POSIX_SOURCE