libretro / swanstation

GNU General Public License v3.0
93 stars 21 forks source link

remove dead <malloc.h> include #111

Closed guijan closed 2 weeks ago

guijan commented 2 weeks ago

This include is part of what currently prevents swanstation from compiling on OpenBSD.

guijan commented 2 weeks ago

Ahh, sorry, this header differs between Windows, glibc, and FreeBSD, and I didn't notice it was included for FreeBSD. Both this PR and the current main are wrong either way, not all platforms have or need a malloc.h to provide alloca(). I can't convert this to a draft, so I'm closing it for now.