Adds support for OS X without X11.

OS X support shouldn't depend on X11 being installed on the host.
Removes the X11 dependency.
macos/v1.5.9
Ryan Houdek 11 years ago
parent 7422de5b4b
commit e3051481cc
  1. 2
      configure.ac
  2. 2
      src/dispatch_common.h

@ -78,7 +78,7 @@ case $host_os in
;;
darwin*)
build_egl=no
build_glx=yes
build_glx=no
build_wgl=no
build_apple=yes
has_znow=no

@ -30,7 +30,7 @@
#define EPOXY_IMPORTEXPORT __declspec(dllexport)
#elif defined(__APPLE__)
#define PLATFORM_HAS_EGL 0
#define PLATFORM_HAS_GLX 1
#define PLATFORM_HAS_GLX 0
#define PLATFORM_HAS_WGL 0
#define EPOXY_IMPORTEXPORT
#else

Loading…
Cancel
Save