diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-31 11:49:07 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-08-01 08:31:33 +1000 |
commit | 9d92e49a4b69edc6e05f44e00aef8b81bb00f067 (patch) | |
tree | b36cc8021abb6d62e7258607a08e976f1dd16449 | |
parent | 0c993094a8899b488ba4acbb888c176f99da0849 (diff) |
Replace _BSD_SOURCE with _DEFAULT_SOURCE
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 6ce70b7..29169b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,7 @@ SUBDIRS = man bin_PROGRAMS = fonttosfnt -AM_CFLAGS = -DXVENDORNAME=\"X.Org\ Foundation\" $(FONTTOSFNT_CFLAGS) -DXVENDORNAMESHORT=\"X.Org\" -D_BSD_SOURCE -D_GNU_SOURCE $(CWARNFLAGS) +AM_CFLAGS = -DXVENDORNAME=\"X.Org\ Foundation\" $(FONTTOSFNT_CFLAGS) -DXVENDORNAMESHORT=\"X.Org\" -D_DEFAULT_SOURCE -D_GNU_SOURCE $(CWARNFLAGS) fonttosfnt_LDADD = $(FONTTOSFNT_LIBS) -lm fonttosfnt_SOURCES = \ |