mirror of
https://github.com/NishiOwO/JWasm.git
synced 2025-04-21 08:44:38 +00:00
add OpenBSD support, clean-up FreeBSD/APPLE #ifdef
This commit is contained in:
parent
7218960b65
commit
edb21a8a42
@ -45,10 +45,8 @@ extern void MemFree( void *ptr );
|
|||||||
#elif defined(__GNUC__) || defined(__TINYC__)
|
#elif defined(__GNUC__) || defined(__TINYC__)
|
||||||
|
|
||||||
#define myalloca alloca
|
#define myalloca alloca
|
||||||
#ifndef __FreeBSD__ /* added v2.08 */
|
#if !(defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__))
|
||||||
#ifndef __APPLE__
|
#include <malloc.h>
|
||||||
#include <malloc.h> /* added v2.07 */
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(__PCC__)
|
#elif defined(__PCC__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user