Skip to content

Commit

Permalink
Correct names of framework for case sensitive FS.
Browse files Browse the repository at this point in the history
CoreMidi --> CoreMIDI
system --> System

Sample program of macroquad failed to compile because of mismatch of the above names. It is possible to be OK for case insensitive FS but it caused error on my mac with case sensitive FS setting.
  • Loading branch information
ywata committed Sep 24, 2023
1 parent aa38a5b commit bb12c86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/native/apple/frameworks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl Drop for RcObjcId {
}
}

#[link(name = "system")]
#[link(name = "System")]
extern "C" {
pub static _NSConcreteStackBlock: [*const c_void; 32];
pub static _NSConcreteBogusBlock: [*const c_void; 32];
Expand Down Expand Up @@ -1252,7 +1252,7 @@ pub struct MIDIEventPacket {
pub words: [u32; 64usize],
}

#[link(name = "CoreMidi", kind = "framework")]
#[link(name = "CoreMIDI", kind = "framework")]
extern "C" {
pub static kMIDIPropertyManufacturer: CFStringRef;
pub static kMIDIPropertyDisplayName: CFStringRef;
Expand Down

0 comments on commit bb12c86

Please sign in to comment.