mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 05:20:28 +00:00
Include objc runtime type dependencies only on darwin
This commit is contained in:
@@ -3389,8 +3389,10 @@ gb_internal void init_core_map_type(Checker *c) {
|
||||
}
|
||||
|
||||
gb_internal void init_core_objc_c(Checker *c) {
|
||||
t_objc_super = find_core_type(c, str_lit("objc_super"));
|
||||
t_objc_super_ptr = alloc_type_pointer(t_objc_super);
|
||||
if (build_context.metrics.os == TargetOs_darwin) {
|
||||
t_objc_super = find_core_type(c, str_lit("objc_super"));
|
||||
t_objc_super_ptr = alloc_type_pointer(t_objc_super);
|
||||
}
|
||||
}
|
||||
|
||||
gb_internal void init_preload(Checker *c) {
|
||||
|
||||
Reference in New Issue
Block a user