diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-11-21 12:07:43 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-11-21 12:07:43 +0000 |
commit | a5095f658307b9a28644862f860fb4ecfe4a69b3 (patch) | |
tree | c34afc739ede871b04ed0871c5f5da770d62d0a6 /libobjc/objc/objc.h | |
parent | 33adfe37b74d39dd44153ded999fdec09236b383 (diff) | |
download | gcc-a5095f658307b9a28644862f860fb4ecfe4a69b3.tar.gz |
2008-11-21 Kai Tietz <kai.tietz@onevision.com>
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142087 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc/objc.h')
-rw-r--r-- | libobjc/objc/objc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libobjc/objc/objc.h b/libobjc/objc/objc.h index ee7612c9754..cc822edf5d3 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 |