diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2017-09-02 19:17:37 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2017-09-16 10:04:57 +0930 |
commit | 1220e3c6b8f94a00ac7afee15f21e6782655d97c (patch) | |
tree | 5867e4440b7f8985cc1a0cd0b3049b86495e3ed2 /src/cairo-output-stream.c | |
parent | 117a3c27d48107cb9c570fee725105419b1251e3 (diff) | |
download | cairo-1220e3c6b8f94a00ac7afee15f21e6782655d97c.tar.gz |
replace _BSD_SOURCE with _DEFAULT_SOURCE
fixes the warning:
warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
Diffstat (limited to 'src/cairo-output-stream.c')
-rw-r--r-- | src/cairo-output-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-output-stream.c b/src/cairo-output-stream.c index 369a59bfb..07991703b 100644 --- a/src/cairo-output-stream.c +++ b/src/cairo-output-stream.c @@ -33,7 +33,7 @@ * Kristian Høgsberg <krh@redhat.com> */ -#define _BSD_SOURCE /* for snprintf() */ +#define _DEFAULT_SOURCE /* for snprintf() */ #include "cairoint.h" #include "cairo-output-stream-private.h" |