mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 01:37:19 +00:00
Alloca included by default on some OS, but not all.
Do explcitly include alloca on non-msvc compilers.
This commit is contained in:
parent
9d9cb378ff
commit
6f90df26a5
@ -33,6 +33,10 @@
|
||||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#if !defined(JANET_REDUCED_OS) || !defined(JANET_SINGLE_THREADED)
|
||||
#include <time.h>
|
||||
#define JANET_GETTIME
|
||||
|
Loading…
Reference in New Issue
Block a user