diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-04 01:53:02 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-04 01:53:02 +0000 |
commit | 57328ebfd59d01513a9af58562a1e15bda8c41f3 (patch) | |
tree | f7c9d9527cfcab8688553b5393fc21f53efc3b48 /include/asterisk/compiler.h | |
parent | 7e981b4a6e74af8cb95fb28bcf14a99b1bffd7a1 (diff) |
Merged revisions 115280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r115280 | file | 2008-05-03 22:52:00 -0300 (Sat, 03 May 2008) | 10 lines
Merged revisions 115279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r115279 | file | 2008-05-03 22:50:59 -0300 (Sat, 03 May 2008) | 2 lines
For my next trick I will make these work with what our autoconf header file gives us.
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115281 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/compiler.h')
-rw-r--r-- | include/asterisk/compiler.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asterisk/compiler.h b/include/asterisk/compiler.h index 8ac441463..bc0476527 100644 --- a/include/asterisk/compiler.h +++ b/include/asterisk/compiler.h @@ -23,31 +23,31 @@ #ifndef _ASTERISK_COMPILER_H #define _ASTERISK_COMPILER_H -#if HAVE_ATTRIBUTE_always_inline +#ifdef HAVE_ATTRIBUTE_always_inline #define force_inline __attribute__((always_inline)) inline #else #define force_inline inline #endif -#if HAVE_ATTRIBUTE_pure +#ifdef HAVE_ATTRIBUTE_pure #define attribute_pure __attribute__((pure)) #else #define attribute_pure #endif -#if HAVE_ATTRIBUTE_const +#ifdef HAVE_ATTRIBUTE_const #define attribute_const __attribute__((const)) #else #define attribute_const #endif -#if HAVE_ATTRIBUTE_unused +#ifdef HAVE_ATTRIBUTE_unused #define attribute_unused __attribute__((unused)) #else #define attribute_unused #endif -#if HAVE_ATTRIBUTE_malloc +#ifdef HAVE_ATTRIBUTE_malloc #define attribute_malloc __attribute__((malloc)) #else #define attribute_malloc |