فهرست منبع

Fixed pthread.h not included by GLX header.

Camilla Berglund 11 سال پیش
والد
کامیت
402189ba14
3فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 2 0
      README.md
  2. 0 1
      src/glx_context.c
  3. 2 0
      src/glx_platform.h

+ 2 - 0
README.md

@@ -78,6 +78,8 @@ guide in the GLFW documentation.
  - [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2
  - [X11] Bugfix: The position of hidden windows was ignored by Metacity
                  and Compiz
+ - [X11] Bugfix: The `pthread.h` header was not included by the GLX platform
+                 header.
 
 
 ## Contact

+ 0 - 1
src/glx_context.c

@@ -30,7 +30,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
-#include <pthread.h>
 
 
 // This is the only glXGetProcAddress variant not declared by glxext.h

+ 2 - 0
src/glx_platform.h

@@ -41,6 +41,8 @@
  #include <dlfcn.h>
 #endif
 
+#include <pthread.h>
+
 // We support four different ways for getting addresses for GL/GLX
 // extension functions: glXGetProcAddress, glXGetProcAddressARB,
 // glXGetProcAddressEXT, and dlsym