Please sign in to comment.
obstack: Fix portability issues
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1, SunOS 5.10, and possibly others do not have exit.h and exitfail.h. Remove the use of these in obstack.c. The __block variable was renamed to block to avoid a gcc error: compat/obstack.h:190: error: __block attribute can be specified on variables only Initial-patch-by: David Aguilar <firstname.lastname@example.org> Reported-by: Brian Gernhardt <email@example.com> Signed-off-by: Fredrik Kuivinen <firstname.lastname@example.org> Acked-by: David Aguilar <email@example.com> Signed-off-by: Junio C Hamano <firstname.lastname@example.org>
- Loading branch information...
Showing with 6 additions and 36 deletions.