Revision 29f640e2

b/exec-all.h
37 37
#define unlikely(x)   __builtin_expect(!!(x), 0)
38 38
#endif
39 39

  
40
#ifndef always_inline
41
#if __GNUC__ < 3
42
#define always_inline inline
43
#else
44
#define always_inline __attribute__ (( always_inline )) inline
45
#endif
46
#endif
47

  
40 48
#ifdef __i386__
41 49
#define REGPARM(n) __attribute((regparm(n)))
42 50
#else
b/vl.h
109 109
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
110 110
#endif
111 111

  
112
#ifndef always_inline
113
#if __GNUC__ < 3
114
#define always_inline inline
115
#else
116
#define always_inline __attribute__ (( always_inline )) inline
117
#endif
118
#endif
119

  
112 120
/* cutils.c */
113 121
void pstrcpy(char *buf, int buf_size, const char *str);
114 122
char *pstrcat(char *buf, int buf_size, const char *s);

Also available in: Unified diff