projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a32d47
)
mapi: don't include X11/Xlib-xcb.h on non PTHREAD platforms
author
Timothy Arceri
<tarceri@itsqueeze.com>
Thu, 16 Mar 2017 04:43:48 +0000
(15:43 +1100)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Thu, 16 Mar 2017 04:45:40 +0000
(15:45 +1100)
Should fix the last of the glthread build issues on windows.
src/mapi/glapi/gen/gl_marshal.py
patch
|
blob
|
history
diff --git
a/src/mapi/glapi/gen/gl_marshal.py
b/src/mapi/glapi/gen/gl_marshal.py
index 576d42c12631d31187546d10831bb37597f6cf22..fe030901859735fef4cbb1b11e414edf72f9f6b6 100644
(file)
--- a/
src/mapi/glapi/gen/gl_marshal.py
+++ b/
src/mapi/glapi/gen/gl_marshal.py
@@
-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;'