Commit 883dc89c by Richard Kenner

#define __attribute__ to be null if compiling with GCC older than 2.7,

not 2.6.

From-SVN: r13522
parent c0298b55
...@@ -174,7 +174,7 @@ my_bzero (b, length) ...@@ -174,7 +174,7 @@ my_bzero (b, length)
# endif /* !defined (BSTRING) && (defined (USG) || defined (VMS)) */ # endif /* !defined (BSTRING) && (defined (USG) || defined (VMS)) */
#endif /* ! STDC_HEADERS */ #endif /* ! STDC_HEADERS */
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6) #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
# define __attribute__(x) # define __attribute__(x)
#endif #endif
......
...@@ -101,7 +101,7 @@ struct arglist { ...@@ -101,7 +101,7 @@ struct arglist {
#endif #endif
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6) #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
# define __attribute__(x) # define __attribute__(x)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment