1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-30 23:23:07 +00:00

Add features.h for feature test macros.

Because we use an amalgated build, feature
test macros should be set in a single file that
is included before any other headers, and is placed
at the top of the amalgamated build.
This commit is contained in:
Calvin Rose
2019-12-30 19:06:15 -05:00
parent 2ba4337e6f
commit 9dd152dc28
46 changed files with 99 additions and 28 deletions

View File

@@ -24,6 +24,7 @@
#define JANET_SYMCACHE_H_defined
#ifndef JANET_AMALG
#include "features.h"
#include <janet.h>
#endif