bah, __builtin_expect is new in gcc 3

This commit is contained in:
Bill Currie 2002-04-25 04:51:04 +00:00
parent da994c16e5
commit cd6217bd21
1 changed files with 4 additions and 0 deletions

View File

@ -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