diff options
| author | Ray <[email protected]> | 2019-07-23 23:08:29 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-07-23 23:08:29 +0200 |
| commit | 2cb3b919139ca51d23d1ee12b5536c954808f7f0 (patch) | |
| tree | 07364f1d167b992720163b54734cb92c90f5c534 /src/raudio.c | |
| parent | 2433f30b4b81030c6c3fd6cc17ee394403208fe0 (diff) | |
| download | raylib-2cb3b919139ca51d23d1ee12b5536c954808f7f0.tar.gz raylib-2cb3b919139ca51d23d1ee12b5536c954808f7f0.zip | |
Try to avoid collision with CoreAudio on macOS
Diffstat (limited to 'src/raudio.c')
| -rw-r--r-- | src/raudio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raudio.c b/src/raudio.c index b03ca8a6..12141091 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -214,6 +214,8 @@ struct rAudioBuffer { unsigned char *buffer; }; +#define AudioBuffer rAudioBuffer // HACK: To avoid CoreAudio (macOS) symbol collision + // miniaudio global variables static ma_context context; static ma_device device; |
