mapi: don't include X11/Xlib-xcb.h on non PTHREAD platforms

Should fix the last of the glthread build issues on windows.
This commit is contained in:
Timothy Arceri 2017-03-16 15:43:48 +11:00
parent 4a32d473fd
commit 04a9ca2700
1 changed files with 2 additions and 2 deletions

View File

@ -66,10 +66,10 @@ class PrintCode(gl_XML.gl_print_base):
def printRealHeader(self):
print header
print '#include <X11/Xlib-xcb.h>'
print
print '#ifdef HAVE_PTHREAD'
print
print '#include <X11/Xlib-xcb.h>'
print
print 'static _X_INLINE int safe_mul(int a, int b)'
print '{'
print ' if (a < 0 || b < 0) return -1;'