mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 00:10:27 +00:00
Amalg script included janet.h before test macros.
This commit is contained in:
parent
9cb25ad7b1
commit
75bb8fbcd1
@ -25,6 +25,8 @@
|
|||||||
#ifndef JANET_FEATURES_H_defined
|
#ifndef JANET_FEATURES_H_defined
|
||||||
#define JANET_FEATURES_H_defined
|
#define JANET_FEATURES_H_defined
|
||||||
|
|
||||||
|
#ifndef _POSIX_C_SOURCE
|
||||||
#define _POSIX_C_SOURCE 200112L
|
#define _POSIX_C_SOURCE 200112L
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
(print "/* Generated from janet version " janet/version "-" janet/build " */")
|
(print "/* Generated from janet version " janet/version "-" janet/build " */")
|
||||||
(print "#define JANET_BUILD \"" janet/build "\"")
|
(print "#define JANET_BUILD \"" janet/build "\"")
|
||||||
(print ```#define JANET_AMALG```)
|
(print ```#define JANET_AMALG```)
|
||||||
|
(print ```#define _POSIX_C_SOURCE 200112L```)
|
||||||
(print ```#include "janet.h"```)
|
(print ```#include "janet.h"```)
|
||||||
|
|
||||||
# Body
|
# Body
|
||||||
|
Loading…
Reference in New Issue
Block a user