From b15b7ef84d1c9f2f856e6487c4ced86a6da977c7 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Fri, 21 Nov 2008 12:07:43 +0000 Subject: Object.m (errno): Replaced by errno.h include. 2008-11-21 Kai Tietz * Object.m (errno): Replaced by errno.h include. (compare): Cast self to id to prevent warning on comparison. * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is already there. * sendmsg.c (__objc_print_dtable_stats): Remove type warnings. * thr-win32.c (__objc_thread_detach): Remove type warning. (__objc_thread_id): Likewise. * thr.c (__objc_thread_detach_functiont): Add __builtin_trap () for noreturn. From-SVN: r142087 --- libobjc/objc/objc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libobjc/objc') diff --git a/libobjc/objc/objc.h b/libobjc/objc/objc.h index ee7612c..cc822ed 100644 --- a/libobjc/objc/objc.h +++ b/libobjc/objc/objc.h @@ -39,6 +39,7 @@ extern "C" { #ifdef __vxworks typedef int BOOL; #else +#undef BOOL typedef unsigned char BOOL; #endif #define YES (BOOL)1 -- cgit v1.1