mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
bah, __builtin_expect is new in gcc 3
This commit is contained in:
parent
da994c16e5
commit
cd6217bd21
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@
|
|||
#ifndef __GNUC__
|
||||
# define __attribute__(x)
|
||||
# define __builtin_expect(x,c) x
|
||||
#else
|
||||
# if __GNUC__ < 3
|
||||
# define __builtin_expect(x,c) x
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif // __gcc_attr_h
|
||||
|
|
Loading…
Reference in a new issue