mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
r8691@Kushana: nickm | 2006-08-31 13:30:46 -0400
Fix bug 327 (part 1): Use correct macro to test for GCC 3 or later. svn:r8309
This commit is contained in:
parent
921bfdb40a
commit
bc0c39f85d
@ -90,7 +90,7 @@ extern INLINE double U64_TO_DBL(uint64_t x) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GCC has several useful attributes. */
|
/* GCC has several useful attributes. */
|
||||||
#ifdef __GNUC__ && __GNUC_MAJOR__ >= 3
|
#if defined(__GNUC__) && __GNUC__ >= 3
|
||||||
#define ATTR_NORETURN __attribute__((noreturn))
|
#define ATTR_NORETURN __attribute__((noreturn))
|
||||||
#define ATTR_PURE __attribute__((pure))
|
#define ATTR_PURE __attribute__((pure))
|
||||||
#define ATTR_MALLOC __attribute__((malloc))
|
#define ATTR_MALLOC __attribute__((malloc))
|
||||||
|
Loading…
Reference in New Issue
Block a user