1 /* 2 * Asterisk -- A telephony toolkit for Linux. 3 * 4 * Compiler-specific macros and other items 5 * 6 * Copyright (C) 2005, Digium, Inc. 7 */ 8 9 /* 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. 15 * 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. 20 * 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 26 * terms granted here. 27 */ 28 29 #ifndef _ASTERISK_COMPILER_H 30 #define _ASTERISK_COMPILER_H 31 32 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96) 33 #define __builtin_expect(exp, c) (exp) 34 #endif 35 36 #endif /* _ASTERISK_COMPILER_H */ 37