summaryrefslogtreecommitdiff
path: root/src/cairo-path-stroke-boxes.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-path-stroke-boxes.c
parent117a3c27d48107cb9c570fee725105419b1251e3 (diff)
downloadcairo-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-path-stroke-boxes.c')
-rw-r--r--src/cairo-path-stroke-boxes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-path-stroke-boxes.c b/src/cairo-path-stroke-boxes.c
index 7f25bf76c..fba170c63 100644
--- a/src/cairo-path-stroke-boxes.c
+++ b/src/cairo-path-stroke-boxes.c
@@ -36,7 +36,7 @@
* Chris Wilson <chris@chris-wilson.co.uk>
*/
-#define _BSD_SOURCE /* for hypot() */
+#define _DEFAULT_SOURCE /* for hypot() */
#include "cairoint.h"
#include "cairo-box-inline.h"