diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-15 09:34:31 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-15 09:34:31 +1100 |
commit | 3b9d5e993ad50613fb990f1b70c0ce77793cba8c (patch) | |
tree | 3acf0ccdefe883caa9d8f303df8b0e79d21da699 /acconfig.h | |
parent | 84093e9d7407b64673d20b38a02bca432f970ba6 (diff) |
- Added better test for inline functions compiler support from
Darren_Hall@progressive.com
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/acconfig.h b/acconfig.h index 324f45dbe..6be7bddb2 100644 --- a/acconfig.h +++ b/acconfig.h | |||
@@ -261,14 +261,8 @@ enum | |||
261 | # define __P(x) x | 261 | # define __P(x) x |
262 | #endif | 262 | #endif |
263 | 263 | ||
264 | #ifdef __GNUC__ | 264 | #if defined(__GNUC__) && (__GNUC__ < 2) |
265 | # if __GNUC__ < 2 | 265 | # define __attribute__(x) |
266 | # define INLINE inline | ||
267 | # define __attribute__(x) | ||
268 | # else | ||
269 | # define INLINE __inline__ | ||
270 | # endif /* __GNUC__ < 2 */ | ||
271 | #else | 266 | #else |
272 | # define __attribute__(x) | 267 | # define __attribute__(x) |
273 | # define INLINE | 268 | #endif /* defined(__GNUC__) && (__GNUC__ < 2) */ |
274 | #endif /* __GNUC__ */ | ||