util/xmlconfig: Disable for Windows like Android
authorJames Park <jpark37@lagfreegames.com>
Fri, 7 Aug 2020 02:48:39 +0000 (19:48 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sun, 25 Oct 2020 03:04:09 +0000 (03:04 +0000)
commit6a189c89f8b748845b9e33127d44a1dd532c32c8
tree0bf1d6a0014fd30129ef97c67ec95b48323376e1
parentfb56fb02a1e9a94144bc2d5fb148e343c19a930b
util/xmlconfig: Disable for Windows like Android

The code does not compile on Windows, so just disable for now. There is
already a pattern to do this for Android.

Stop including expat dependency if building Windows.

Disable WITH_XMLCONFIG if _WIN32 is defined.

Tuck _WIN32 incompatible includes inside WITH_XMLCONFIG.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7249>
src/util/meson.build
src/util/xmlconfig.c