2 * Asterisk -- A telephony toolkit for Linux.
4 * Compiler-specific macros and other items
6 * Copyright (C) 2005, Digium, Inc.
10 * See http://www.asterisk.org for more information about
11 * the Asterisk project. Please do not directly contact
12 * any of the maintainers of this project for assistance;
13 * the project provides a web site, mailing lists and IRC
14 * channels for your use.
16 * This program is free software, distributed under the terms of
17 * the GNU General Public License Version 2 as published by the
18 * Free Software Foundation. See the LICENSE file included with
19 * this program for more details.
21 * In addition, when this program is distributed with Asterisk in
22 * any form that would qualify as a 'combined work' or as a
23 * 'derivative work' (but not mere aggregation), you can redistribute
24 * and/or modify the combination under the terms of the license
25 * provided with that copy of Asterisk, instead of the license
29 #ifndef _ASTERISK_COMPILER_H
30 #define _ASTERISK_COMPILER_H
32 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)
33 #define __builtin_expect(exp, c) (exp)
36 #endif /* _ASTERISK_COMPILER_H */