diff options
author | June McEnroe <june@causal.agency> | 2019-03-27 22:57:45 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-03-27 22:57:45 -0400 |
commit | d02934bba1ffc765ceb67f3fa7cddbfebadf1a07 (patch) | |
tree | 2d450f8256b814e3a68be406c43d6638cbad8aab | |
parent | Refactor Makefile (diff) | |
download | wep-d02934bba1ffc765ceb67f3fa7cddbfebadf1a07.tar.gz wep-d02934bba1ffc765ceb67f3fa7cddbfebadf1a07.zip |
Replace feature test macro with _XOPEN_SOURCE
For some reason the former makes snprintf disappear on macOS even though it's specified in C99???
-rw-r--r-- | dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dump.c b/dump.c index 63ebba3..f9f636f 100644 --- a/dump.c +++ b/dump.c @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define _POSIX_C_SOURCE 2 +#define _XOPEN_SOURCE #include <err.h> #include <stdbool.h> |