jarikomppa / soloud

Free, easy, portable audio engine for games
http://soloud-audio.com
Other
1.69k stars 270 forks source link

Use malloc from <stdlib.h> #306

Closed prideout closed 2 years ago

prideout commented 3 years ago

This fixes a build error when using clang on macOS with the provided CMake file. The compiler complained that it could not find a header file called "malloc.h". According to the C standard, this lives in stdlib.