Procházet zdrojové kódy

Fixed asmjs build. Issue #754.

Branimir Karadžić před 9 roky
rodič
revize
bab77d3e1b
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      src/glcontext_egl.h

+ 4 - 0
src/glcontext_egl.h

@@ -10,6 +10,10 @@
 
 
 #include <EGL/egl.h>
 #include <EGL/egl.h>
 #include <EGL/eglext.h>
 #include <EGL/eglext.h>
+#if defined(Success)
+// X11 defines Success
+#	undef Success
+#endif // defined(Success)
 
 
 namespace bgfx { namespace gl
 namespace bgfx { namespace gl
 {
 {