Add EGL_NO_PLATFORM_SPECIFIC_TYPES to avoid Xlib.h via EGL headers

See: https://github.com/KhronosGroup/EGL-Registry/pull/111 discussion.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
dev
Heiko Thiery 4 years ago
parent ea0b03dff0
commit 526765ddfd
  1. 1
      meson.build

@ -102,6 +102,7 @@ config_h.set('_GNU_SOURCE', '1')
config_h.set('_ALL_SOURCE', '1')
config_h.set('EGL_NO_X11', '1')
config_h.set('MESA_EGL_NO_X11_HEADERS', '1')
config_h.set('EGL_NO_PLATFORM_SPECIFIC_TYPES', '1')
config_h.set_quoted('PACKAGE_STRING', 'weston @0@'.format(version_weston))
config_h.set_quoted('PACKAGE_VERSION', version_weston)

Loading…
Cancel
Save