/// struct _class_t {
/// struct _class_t *isa;
-/// struct _class_t * const superclass;
+/// struct _class_t *superclass;
/// void *cache;
/// IMP *vtable;
/// struct _class_ro_t *ro;
Result += "\nstruct _class_t {\n";
Result += "\tstruct _class_t *isa;\n";
- Result += "\tstruct _class_t *const superclass;\n";
+ Result += "\tstruct _class_t *superclass;\n";
Result += "\tvoid *cache;\n";
Result += "\tvoid *vtable;\n";
Result += "\tstruct _class_ro_t *ro;\n";
Result += "\tconst struct _prop_list_t *const properties;\n";
Result += "};\n";
- Result += "extern void *_objc_empty_cache;\n";
+ Result += "__declspec(dllimport) extern struct objc_cache _objc_empty_cache;\n";
Result += "extern void *_objc_empty_vtable;\n";
meta_data_declared = true;