2
0

100-compile_fix.patch 623 B

12345678910111213141516171819
  1. --- a/sysincludes.h
  2. +++ b/sysincludes.h
  3. @@ -101,14 +101,8 @@ typedef void *caddr_t;
  4. #if defined __GNUC__ && defined __STDC__
  5. /* gcc -traditional doesn't have PACKED, UNUSED and NORETURN */
  6. # define PACKED __attribute__ ((packed))
  7. -# if __GNUC__ == 2 && __GNUC_MINOR__ > 6 || __GNUC__ >= 3
  8. -/* gcc 2.6.3 doesn't have "unused" */ /* mool */
  9. -# define UNUSED(x) x __attribute__ ((unused));x
  10. -# define UNUSEDP __attribute__ ((unused))
  11. -# else
  12. -# define UNUSED(x) x
  13. -# define UNUSEDP /* */
  14. -# endif
  15. +# define UNUSED(x) x
  16. +# define UNUSEDP /* */
  17. # define NORETURN __attribute__ ((noreturn))
  18. #else
  19. # define UNUSED(x) x