mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0033868: Configuration - regression in wasm build
Quick fix absent definitions
This commit is contained in:
parent
bef42e89ef
commit
75afece22e
@ -40,11 +40,14 @@ IMPLEMENT_STANDARD_RTTIEXT(OpenGl_GraphicDriver, Graphic3d_GraphicDriver)
|
|||||||
#include <Aspect_NeutralWindow.hxx>
|
#include <Aspect_NeutralWindow.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNX__) && !defined(__EMSCRIPTEN__) \
|
#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNX__) \
|
||||||
&& (!defined(__APPLE__) || defined(HAVE_XLIB))
|
&& (!defined(__APPLE__) || defined(HAVE_XLIB))
|
||||||
#include <X11/Xlib.h> // XOpenDisplay()
|
#include <X11/Xlib.h> // XOpenDisplay()
|
||||||
|
#include <X11/Xutil.h>
|
||||||
|
#if !defined(__EMSCRIPTEN__)
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(HAVE_EGL)
|
#if !defined(HAVE_EGL)
|
||||||
#if defined(__ANDROID__) || defined(__QNX__) || defined(__EMSCRIPTEN__) || defined(HAVE_GLES2) \
|
#if defined(__ANDROID__) || defined(__QNX__) || defined(__EMSCRIPTEN__) || defined(HAVE_GLES2) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user