1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-25 07:50:27 +00:00

Amalg script included janet.h before test macros.

This commit is contained in:
Calvin Rose 2019-12-30 22:08:12 -05:00
parent 9cb25ad7b1
commit 75bb8fbcd1
2 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,8 @@
#ifndef JANET_FEATURES_H_defined
#define JANET_FEATURES_H_defined
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200112L
#endif
#endif

View File

@ -5,6 +5,7 @@
(print "/* Generated from janet version " janet/version "-" janet/build " */")
(print "#define JANET_BUILD \"" janet/build "\"")
(print ```#define JANET_AMALG```)
(print ```#define _POSIX_C_SOURCE 200112L```)
(print ```#include "janet.h"```)
# Body