mirror of
https://github.com/NishiOwO/JWasm.git
synced 2025-04-21 00:34: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__)
|
||||
|
||||
#define myalloca alloca
|
||||
#ifndef __FreeBSD__ /* added v2.08 */
|
||||
#ifndef __APPLE__
|
||||
#include <malloc.h> /* added v2.07 */
|
||||
#endif
|
||||
#if !(defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__))
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#elif defined(__PCC__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user