diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-05-18 17:50:40 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-05-18 17:50:40 +0000 |
commit | beac3bec51bcc64439cfe51b4c4e7b1d0d244b62 (patch) | |
tree | 0b8351a1f703cf30eb6342066efc3d7546fe0c87 /lib | |
parent | b281bb3de290d8b82843e1d82aff19a427e3079f (diff) | |
download | netpbm-mirror-beac3bec51bcc64439cfe51b4c4e7b1d0d244b62.tar.gz netpbm-mirror-beac3bec51bcc64439cfe51b4c4e7b1d0d244b62.tar.xz netpbm-mirror-beac3bec51bcc64439cfe51b4c4e7b1d0d244b62.zip |
Add _C99_SOURCE in an attempt to get it to compile on macOS Ventura Xcode 14.3
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4552 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/nstring.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/nstring.c b/lib/util/nstring.c index 4bbb041f..6663ebf0 100644 --- a/lib/util/nstring.c +++ b/lib/util/nstring.c @@ -24,6 +24,7 @@ Code in this file is contributed to the public domain by its authors. =============================================================================*/ #define _DEFAULT_SOURCE /* New name for SVID & BSD source defines */ +#define _C99_SOURCE /* Make sure snprintf() is in stdio.h */ #define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ #define _BSD_SOURCE /* Make sure strdup() is in string.h */ #define _GNU_SOURCE |