summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-surface.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2017-09-02 19:17:37 +0930
committerAdrian Johnson <ajohnson@redneon.com>2017-09-16 10:04:57 +0930
commit1220e3c6b8f94a00ac7afee15f21e6782655d97c (patch)
tree5867e4440b7f8985cc1a0cd0b3049b86495e3ed2 /src/cairo-pdf-surface.c
parent117a3c27d48107cb9c570fee725105419b1251e3 (diff)
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-pdf-surface.c')
-rw-r--r--src/cairo-pdf-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index c258b7381..9e1547eac 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -39,7 +39,7 @@
* Adrian Johnson <ajohnson@redneon.com>
*/
-#define _BSD_SOURCE /* for snprintf() */
+#define _DEFAULT_SOURCE /* for snprintf() */
#include "cairoint.h"
#include "cairo-pdf.h"