meson: define _GNU_SOURCE on FreeBSD
authorEric Engestrom <eric.engestrom@intel.com>
Sat, 26 Oct 2019 21:43:50 +0000 (22:43 +0100)
committerEric Engestrom <eric@engestrom.ch>
Tue, 29 Oct 2019 12:12:58 +0000 (12:12 +0000)
commitb4f508ab5990118ea0b9214d0933e0799c36d1f7
treef33ff8566a0f028ea7fedf13575f3b90cac0997d
parent1a2246a5e08d9c4f9da481de08845ee40790acc6
meson: define _GNU_SOURCE on FreeBSD

_mesa_strtod() needs this to use strtod_l(), which behaves correctly
wrt `,` vs `.` decimal separator.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2008
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
meson.build