meson: fix multi-line string

https://bugzilla.gnome.org/show_bug.cgi?id=793629
This commit is contained in:
Tim-Philipp Müller 2018-02-20 11:52:43 +00:00
parent 400ea72b06
commit 41d7356fa1

View file

@ -570,8 +570,8 @@ if need_platform_wgl != 'no' and need_win_win32 != 'no'
gdi_dep = cc.find_library('gdi32', required : false)
# FIXME: Revert back to has_header once it gains prefix support
wglext_h = cc.has_header_symbol('GL/wglext.h', 'WGL_WGLEXT_VERSION',
prefix : '#include <windows.h>
#include <GL/gl.h>')
prefix : '''#include <windows.h>
#include <GL/gl.h>''')
if wglext_h and gdi_dep.found() and gl_dep.found()
gl_platform_deps += gdi_dep