OSDN Git Service

build-sys: Define _GNU_SOURCE in config.h
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 5 Dec 2012 11:22:49 +0000 (09:22 -0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 5 Dec 2012 15:17:36 +0000 (17:17 +0200)
commitb84f6f794bd407699bf61884ca6eb54cf896c965
treee245d4b29d375d4d60ddbc4ecfc6a60aa0b827b4
parenta163324e1aa0adfd7d7155303f837b7a4f6bd58c
build-sys: Define _GNU_SOURCE in config.h

Instead of defining _GNU_SOURCE in each source file (and potentially
forgetting in some), tell the build system we use extensions and let it
define _GNU_SOURCE in config.h.
12 files changed:
configure.ac
monitor/btsnoop.c
monitor/sdp.c
profiles/input/hog_device.c
src/adapter.c
src/mgmt.c
src/sdp-xml.c
src/textfile.c
tools/btsnoop.c
tools/ciptool.c
tools/hciattach.c
tools/rfcomm.c