mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 02:18:03 +02:00
replace _BSD_SOURCE with _DEFAULT_SOURCE
fixes the warning: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
This commit is contained in:
parent
117a3c27d4
commit
1220e3c6b8
15 changed files with 15 additions and 15 deletions
|
|
@ -41,7 +41,7 @@
|
|||
* http://www.adobe.com/content/dam/Adobe/en/devnet/font/pdfs/5177.Type2.pdf
|
||||
*/
|
||||
|
||||
#define _BSD_SOURCE /* for snprintf(), strdup() */
|
||||
#define _DEFAULT_SOURCE /* for snprintf(), strdup() */
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-array-private.h"
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
* Carl Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#define _BSD_SOURCE /* for strdup() */
|
||||
#define _DEFAULT_SOURCE /* for strdup() */
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-error-private.h"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -37,7 +37,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"
|
||||
|
|
|
|||
|
|
@ -37,7 +37,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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
* 2. Using gs to do PS -> PDF and PDF -> PS will always work well.
|
||||
*/
|
||||
|
||||
#define _BSD_SOURCE /* for ctime_r(), snprintf(), strdup() */
|
||||
#define _DEFAULT_SOURCE /* for ctime_r(), snprintf(), strdup() */
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-ps.h"
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
* Adrian Johnson <ajohnson@redneon.com>
|
||||
*/
|
||||
|
||||
#define _BSD_SOURCE /* for snprintf(), strdup() */
|
||||
#define _DEFAULT_SOURCE /* for snprintf(), strdup() */
|
||||
#include "cairoint.h"
|
||||
#include "cairo-error-private.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
* Carl Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#define _BSD_SOURCE /* for snprintf() */
|
||||
#define _DEFAULT_SOURCE /* for snprintf() */
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-svg.h"
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
* Behdad Esfahbod <behdad@behdad.org>
|
||||
*/
|
||||
|
||||
#define _BSD_SOURCE /* for strdup() */
|
||||
#define _DEFAULT_SOURCE /* for strdup() */
|
||||
#include "cairoint.h"
|
||||
#include "cairo-error-private.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
* Adrian Johnson <ajohnson@redneon.com>
|
||||
*/
|
||||
|
||||
#define _BSD_SOURCE /* for snprintf(), strdup() */
|
||||
#define _DEFAULT_SOURCE /* for snprintf(), strdup() */
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-array-private.h"
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#define _BSD_SOURCE /* for snprintf(), strdup() */
|
||||
#define _DEFAULT_SOURCE /* for snprintf(), strdup() */
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-array-private.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue