meson: tell flex that we support c99
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 15 Apr 2020 21:22:51 +0000 (23:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Apr 2020 14:48:40 +0000 (14:48 +0000)
commitdaeff19608e8ef1937167ffa8b086bba5eb3f60e
tree2c4824c166317f97fb9b7febd75db465fec09e99
parent0752648a993c6f0fae2f4a072079000b9d84d074
meson: tell flex that we support c99

flexint.h uses stdint.h if the compiler claims to support C99. MSVC
doesn't support enough of C99 to enable this flag, but it supports
enough to keep flex happy.

Without this, we end up with *both* some flex-specific definitions as
well as our own definitions from mesa-headers, producing a slew of
compiler warnings.

Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4577>
meson.build