mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
Make sure THREADS is set no matter which threading model is selected.
This commit is contained in:
parent
dedff2c3b2
commit
2491d5135b
2 changed files with 8 additions and 0 deletions
|
|
@ -77,6 +77,10 @@ class PrintGenericStubs(gl_XML.FilterGLAPISpecBase):
|
|||
print '#define GLOBL_FN(x) GLOBL x'
|
||||
print '#endif'
|
||||
print ''
|
||||
print '#if defined(PTHREADS) || defined(XTHREADS) || defined(SOLARIS_THREADS) || defined(WIN32_THREADS) || defined(BEOS_THREADS)'
|
||||
print '# define THREADS'
|
||||
print '#endif'
|
||||
print ''
|
||||
print '#if defined(PTHREADS)'
|
||||
print '# define GL_STUB(fn,off,fn_alt)\t\t\t\\'
|
||||
print 'ALIGNTEXT16;\t\t\t\t\t\t\\'
|
||||
|
|
|
|||
|
|
@ -47,6 +47,10 @@
|
|||
#define GLOBL_FN(x) GLOBL x
|
||||
#endif
|
||||
|
||||
#if defined(PTHREADS) || defined(XTHREADS) || defined(SOLARIS_THREADS) || defined(WIN32_THREADS) || defined(BEOS_THREADS)
|
||||
# define THREADS
|
||||
#endif
|
||||
|
||||
#if defined(PTHREADS)
|
||||
# define GL_STUB(fn,off,fn_alt) \
|
||||
ALIGNTEXT16; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue