summaryrefslogtreecommitdiff
path: root/src/cairo-truetype-subset.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-truetype-subset.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-truetype-subset.c')
-rw-r--r--src/cairo-truetype-subset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-truetype-subset.c b/src/cairo-truetype-subset.c
index 62902cf7a..86593bc73 100644
--- a/src/cairo-truetype-subset.c
+++ b/src/cairo-truetype-subset.c
@@ -40,7 +40,7 @@
* http://www.microsoft.com/typography/specs/default.htm
*/
-#define _BSD_SOURCE /* for snprintf(), strdup() */
+#define _DEFAULT_SOURCE /* for snprintf(), strdup() */
#include "cairoint.h"
#include "cairo-array-private.h"