diff options
author | Roy Marples <roy@marples.name> | 2007-07-10 11:42:56 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-07-10 11:42:56 +0000 |
commit | 1cda2a2036bce068a01b6724d89c63c7f51cb7a8 (patch) | |
tree | 3e97219c023460d958a02e0ee18446dcb07d5705 /src/rc.h | |
parent | ae160bf293959088adb874c1585567ac04ea90b9 (diff) |
We no longer care about numerical runlevels, #184733.
Diffstat (limited to 'src/rc.h')
-rw-r--r-- | src/rc.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -8,8 +8,13 @@ #ifndef __RC_H__ #define __RC_H__ +#define SENTINEL #ifdef __GNUC__ -# define SENTINEL __attribute__ ((__sentinel__)) +# define GCC_VERSION (__GNUC__ * 1000 + __GNUC__MINOR ) +# if (GCC_VERSION >= 3005) +# undef SENTINEL +# define SENTINEL __attribute__ ((__sentinel__)) +# endif #endif #include <sys/types.h> |