1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-01 17:36:21 +03:00

0033868: Configuration - regression in wasm build

Quick fix absent definitions
This commit is contained in:
oan 2025-02-03 15:47:17 +00:00
parent bef42e89ef
commit 75afece22e

View File

@ -40,10 +40,13 @@ IMPLEMENT_STANDARD_RTTIEXT(OpenGl_GraphicDriver, Graphic3d_GraphicDriver)
#include <Aspect_NeutralWindow.hxx>
#endif
#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNX__) && !defined(__EMSCRIPTEN__) \
#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNX__) \
&& (!defined(__APPLE__) || defined(HAVE_XLIB))
#include <X11/Xlib.h> // XOpenDisplay()
#include <GL/glx.h>
#include <X11/Xutil.h>
#if !defined(__EMSCRIPTEN__)
#include <GL/glx.h>
#endif
#endif
#if !defined(HAVE_EGL)