diff options
author | Ziemowit Laski <zlaski@apple.com> | 2003-09-25 01:26:01 +0000 |
---|---|---|
committer | Ziemowit Laski <zlaski@gcc.gnu.org> | 2003-09-25 01:26:01 +0000 |
commit | 264fa2db22ce7cf50ebb108edb097acf0c9f2a57 (patch) | |
tree | 1052b4d25cc404c17e6402e22b8183026f4d4263 /gcc/testsuite/objc/execute/bf-common.h | |
parent | 3b6fdb2fa04453ebf17ec1dfd3ef62b413442430 (diff) | |
download | gcc-264fa2db22ce7cf50ebb108edb097acf0c9f2a57.zip gcc-264fa2db22ce7cf50ebb108edb097acf0c9f2a57.tar.gz gcc-264fa2db22ce7cf50ebb108edb097acf0c9f2a57.tar.bz2 |
MERGE OF objc-improvements-branch into MAINLINE.
2003-09-24 Ziemowit Laski <zlaski@apple.com>
MERGE OF objc-improvements-branch into MAINLINE.
See 'gcc/ChangeLog' and 'gcc/testsuite/ChangeLog' for
the gory details.
From-SVN: r71748
Diffstat (limited to 'gcc/testsuite/objc/execute/bf-common.h')
-rw-r--r-- | gcc/testsuite/objc/execute/bf-common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/objc/execute/bf-common.h b/gcc/testsuite/objc/execute/bf-common.h index 123a454..6cf7a06 100644 --- a/gcc/testsuite/objc/execute/bf-common.h +++ b/gcc/testsuite/objc/execute/bf-common.h @@ -1,5 +1,7 @@ +#ifndef __NEXT_RUNTIME__ #include <objc/encoding.h> - +#endif +#include "next_mapping.h" void print_ivars (Class class) { @@ -59,7 +61,7 @@ int main () @defs (MyObject); }; int size1, size2; - Class class = [MyObject class]; + Class class = objc_get_class ("MyObject"); printf ("type = %s\n", @encode (struct class_vars)); print_ivars (class); |