2005-07-16 00:29:20 +08:00
|
|
|
/*
|
|
|
|
* Asterisk -- A telephony toolkit for Linux.
|
|
|
|
*
|
|
|
|
* Compiler-specific macros and other items
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005, Digium, Inc.
|
2008-08-06 06:18:12 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* See http://www.asterisk.org for more information about
|
|
|
|
* the Asterisk project. Please do not directly contact
|
|
|
|
* any of the maintainers of this project for assistance;
|
|
|
|
* the project provides a web site, mailing lists and IRC
|
|
|
|
* channels for your use.
|
2005-07-16 00:29:20 +08:00
|
|
|
*
|
|
|
|
* This program is free software, distributed under the terms of
|
2008-08-06 06:18:12 +08:00
|
|
|
* the GNU General Public License Version 2 as published by the
|
|
|
|
* Free Software Foundation. See the LICENSE file included with
|
|
|
|
* this program for more details.
|
|
|
|
*
|
|
|
|
* In addition, when this program is distributed with Asterisk in
|
|
|
|
* any form that would qualify as a 'combined work' or as a
|
|
|
|
* 'derivative work' (but not mere aggregation), you can redistribute
|
|
|
|
* and/or modify the combination under the terms of the license
|
|
|
|
* provided with that copy of Asterisk, instead of the license
|
|
|
|
* terms granted here.
|
2005-07-16 00:29:20 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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 */
|