summaryrefslogtreecommitdiff
blob: e04867fb35af68976ba6f92691a87457a4f203f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- libsvgtiny-0.1.3/Makefile
+++ libsvgtiny-0.1.3/Makefile
@@ -15,14 +15,8 @@
 WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
 	-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
 	-Wmissing-declarations -Wnested-externs -pedantic
-# BeOS/Haiku/AmigaOS standard library headers create warnings
-ifneq ($(BUILD),i586-pc-haiku)
-  ifneq ($(findstring amigaos,$(BUILD)),amigaos)
-    WARNFLAGS := $(WARNFLAGS) -Werror
-  endif
-endif
 
-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
+CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \
 	-I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
 ifneq ($(GCCVER),2)
   CFLAGS := $(CFLAGS) -std=c99