diff options
Diffstat (limited to 'include/asterisk/compiler.h')
-rwxr-xr-x | include/asterisk/compiler.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/asterisk/compiler.h b/include/asterisk/compiler.h new file mode 100755 index 000000000..137e9e146 --- /dev/null +++ b/include/asterisk/compiler.h @@ -0,0 +1,19 @@ +/* + * Asterisk -- A telephony toolkit for Linux. + * + * Compiler-specific macros and other items + * + * Copyright (C) 2005, Digium, Inc. + * + * This program is free software, distributed under the terms of + * the GNU General Public License + */ + +#ifndef _ASTERISK_COMPILER_H +#define _ASTERISK_COMPILER_H + +#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96) +#define __builtin_expect(exp, c) (exp) +#endif + +#endif /* _ASTERISK_COMPILER_H */ |