mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
Fix cmake build.
This commit is contained in:
parent
017e4b6990
commit
3b6be9d60c
2 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#define sexp_so_extension "@CMAKE_SHARED_LIBRARY_SUFFIX@"
|
#define sexp_so_extension "@CMAKE_SHARED_LIBRARY_SUFFIX@"
|
||||||
#define sexp_default_module_path "@default_module_path@"
|
#define sexp_default_module_path "@default_module_path@"
|
||||||
#define sexp_platform "@platform@"
|
#define sexp_platform "@platform@"
|
||||||
|
#define sexp_architecture "@CMAKE_SYSTEM_PROCESSOR@"
|
||||||
#define sexp_version "@CMAKE_PROJECT_VERSION@"
|
#define sexp_version "@CMAKE_PROJECT_VERSION@"
|
||||||
#define sexp_release_name "@release@"
|
#define sexp_release_name "@release@"
|
||||||
|
|
4
sexp.c
4
sexp.c
|
@ -460,8 +460,12 @@ sexp sexp_finalize_c_type (sexp ctx, sexp self, sexp_sint_t n, sexp obj) {
|
||||||
/****************************** contexts ******************************/
|
/****************************** contexts ******************************/
|
||||||
|
|
||||||
static const char* sexp_initial_features[] = {
|
static const char* sexp_initial_features[] = {
|
||||||
|
#ifdef sexp_architecture
|
||||||
sexp_architecture,
|
sexp_architecture,
|
||||||
|
#endif
|
||||||
|
#ifdef sexp_platform
|
||||||
sexp_platform,
|
sexp_platform,
|
||||||
|
#endif
|
||||||
#if SEXP_BSD
|
#if SEXP_BSD
|
||||||
"bsd",
|
"bsd",
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue