__builtin_expect is a gcc 3.x feature. define it out for gcc 2.95.
Patch suggested by miod@. Thanks.
This commit is contained in:
parent
460b683f36
commit
267ae69ebc
4
dist/Mesa/src/mesa/glapi/glthread.h
vendored
4
dist/Mesa/src/mesa/glapi/glthread.h
vendored
@ -298,6 +298,10 @@ _glthread_GetTSD(_glthread_TSD *);
|
||||
extern void
|
||||
_glthread_SetTSD(_glthread_TSD *, void *);
|
||||
|
||||
#if !defined __GNUC__ || __GNUC__ < 3
|
||||
# define __builtin_expect(x, y) x
|
||||
#endif
|
||||
|
||||
#if defined(GLX_USE_TLS)
|
||||
|
||||
extern __thread struct _glapi_table * _glapi_tls_Dispatch
|
||||
|
Loading…
Reference in New Issue
Block a user