megadriver_stub.c: don't use _GNU_SOURCE to gate the compat code
authorJonathan Gray <jsg@jsg.id.au>
Tue, 18 Mar 2014 14:59:18 +0000 (01:59 +1100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 5 Apr 2014 11:21:31 +0000 (12:21 +0100)
commit1cc742d912b76b2cbf97a5a44f271b4f41037bec
tree555d5e2735ce4a66090f60dbb8f6c8aa14bdaf84
parent380f05ccc305bad7568ce19ea7e27cae39998d08
megadriver_stub.c: don't use _GNU_SOURCE to gate the compat code

_GNU_SOURCE is only set/required for linux*|*-gnu*|gnu*) and as the
functionality is available on other systems check for RTLD_DEFAULT instead.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/drivers/dri/common/megadriver_stub.c