AlisterT / openjazz

OpenJazz
GNU General Public License v2.0
275 stars 49 forks source link

Fix non-Linux UNIX-y builds #99

Closed Kreeblah closed 11 months ago

Kreeblah commented 11 months ago

malloc.h is a Linux-specific header, so without ifdef-ing it, it breaks Mac (and presumably BSD) builds.

carstene1ns commented 11 months ago

This header is shipped by glibc, but will be included from stdlib.h, so we can simply remove it (like in #100).

Going to close this one in favor of the other. Thank you!