00001 #ifndef foopulsegccmacrohfoo
00002 #define foopulsegccmacrohfoo
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifdef __GNUC__
00028 #define PA_GCC_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b)))
00029 #else
00030
00031 #define PA_GCC_PRINTF_ATTR(a,b)
00032 #endif
00033
00034 #if defined(__GNUC__) && (__GNUC__ >= 4)
00035 #define PA_GCC_SENTINEL __attribute__ ((sentinel))
00036 #else
00037
00038 #define PA_GCC_SENTINEL
00039 #endif
00040
00041 #ifdef __GNUC__
00042 #define PA_GCC_NORETURN __attribute__((noreturn))
00043 #else
00044
00045 #define PA_GCC_NORETURN
00046 #endif
00047
00048 #ifdef __GNUC__
00049 #define PA_GCC_UNUSED __attribute__ ((unused))
00050 #else
00051
00052 #define PA_GCC_UNUSED
00053 #endif
00054
00055 #ifdef __GNUC__
00056 #define PA_GCC_DESTRUCTOR __attribute__ ((destructor))
00057 #else
00058
00059 #define PA_GCC_DESTRUCTOR
00060 #endif
00061
00062 #ifndef PA_GCC_PURE
00063 #ifdef __GNUC__
00064 #define PA_GCC_PURE __attribute__ ((pure))
00065 #else
00066
00067 #define PA_GCC_PURE
00068 #endif
00069 #endif
00070
00071 #ifndef PA_GCC_CONST
00072 #ifdef __GNUC__
00073 #define PA_GCC_CONST __attribute__ ((const))
00074 #else
00075
00076 #define PA_GCC_CONST
00077 #endif
00078 #endif
00079
00080 #ifndef PA_GCC_DEPRECATED
00081 #ifdef __GNUC__
00082 #define PA_GCC_DEPRECATED __attribute__ ((deprecated))
00083 #else
00084
00085 #define PA_GCC_DEPRECATED
00086 #endif
00087 #endif
00088
00089 #ifndef PA_GCC_PACKED
00090 #ifdef __GNUCC__
00091 #define PA_GCC_PACKED __attribute__ ((packed))
00092 #else
00093
00094 #define PA_GCC_PACKED
00095 #endif
00096 #endif
00097
00098 #endif