mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 00:10:27 +00:00
Don't include alloca.h, not in MSVC.
This commit is contained in:
parent
f92aac14aa
commit
9d9cb378ff
@ -28,6 +28,10 @@
|
||||
|
||||
#ifdef JANET_FFI
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define alloca _alloca
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
JANET_FFI_TYPE_VOID,
|
||||
JANET_FFI_TYPE_SHORT,
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
#include <alloca.h> /* for ffi */
|
||||
|
||||
#if !defined(JANET_REDUCED_OS) || !defined(JANET_SINGLE_THREADED)
|
||||
#include <time.h>
|
||||
|
Loading…
Reference in New Issue
Block a user