Mon Mar 20 08:20:11 2006

Asterisk developer's documentation


Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

compiler.h

Go to the documentation of this file.
00001 /*
00002  * Asterisk -- An open source telephony toolkit.
00003  *
00004  * Copyright (C) 1999 - 2005, Digium, Inc.
00005  *
00006  * Mark Spencer <markster@digium.com>
00007  *
00008  * See http://www.asterisk.org for more information about
00009  * the Asterisk project. Please do not directly contact
00010  * any of the maintainers of this project for assistance;
00011  * the project provides a web site, mailing lists and IRC
00012  * channels for your use.
00013  *
00014  * This program is free software, distributed under the terms of
00015  * the GNU General Public License Version 2. See the LICENSE file
00016  * at the top of the source tree.
00017  */
00018 
00019 /*! \file
00020  * \brief Compiler-specific macros and other items
00021  */
00022 
00023 #ifndef _ASTERISK_COMPILER_H
00024 #define _ASTERISK_COMPILER_H
00025 
00026 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)
00027 #define __builtin_expect(exp, c) (exp)
00028 #define force_inline inline
00029 #else
00030 #define force_inline inline __attribute__((always_inline))
00031 #endif
00032 
00033 #endif /* _ASTERISK_COMPILER_H */

Generated on Mon Mar 20 08:20:11 2006 for Asterisk - the Open Source PBX by  doxygen 1.3.9.1