added --enable-full-liw to configure.ac

This commit is contained in:
2019-04-17 05:51:36 +00:00
parent 0cbf9e4edf
commit 2255d894b0
6 changed files with 45 additions and 19 deletions

View File

@ -1000,6 +1000,10 @@ static HCL_INLINE int call_primitive (hcl_t* hcl, hcl_ooi_t nargs)
}
#if 0
/* EXPERIMENTAL CODE INTEGRATING EXTERNAL COMMANDS */
#include <unistd.h>
#include <sys/wait.h>
#include <sys/stat.h>
@ -1172,6 +1176,8 @@ oops:
return -1;
}
#endif
/* ------------------------------------------------------------------------- */
static hcl_oop_process_t start_initial_process (hcl_t* hcl, hcl_oop_context_t ctx)
{

View File

@ -273,6 +273,9 @@
/* enable dynamic module capability */
#undef HCL_ENABLE_DYNAMIC_MODULE
/* Use a full word as a large integer word */
#undef HCL_ENABLE_FULL_LIW
/* use libltdl when loading a dynamic module */
#undef HCL_ENABLE_LIBLTDL

View File

@ -226,7 +226,7 @@ typedef struct hcl_obj_word_t* hcl_oop_word_t;
/* =========================================================================
* BIGINT TYPES AND MACROS
* ========================================================================= */
#if (HCL_SIZEOF_UINTMAX_T > HCL_SIZEOF_OOW_T)
#if defined(HCL_ENABLE_FULL_LIW) && (HCL_SIZEOF_UINTMAX_T > HCL_SIZEOF_OOW_T)
# define HCL_USE_FULL_WORD
#endif