diff options
Diffstat (limited to 'source4/lib/ejs/config.h')
-rw-r--r-- | source4/lib/ejs/config.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/lib/ejs/config.h b/source4/lib/ejs/config.h index e6cd603907..320318a0b2 100644 --- a/source4/lib/ejs/config.h +++ b/source4/lib/ejs/config.h @@ -45,7 +45,7 @@ #define BLD_FEATURE_EJS 1 #define BLD_FEATURE_ESP_MODULE 1 #define BLD_FEATURE_EVAL_PERIOD 30 -#define BLD_FEATURE_FLOATING_POINT 0 +#define BLD_FEATURE_FLOATING_POINT 1 #define BLD_FEATURE_IF_MODIFIED 0 #define BLD_FEATURE_INT64 1 #define BLD_FEATURE_KEEP_ALIVE 0 @@ -135,3 +135,7 @@ #define BLD_BIN_DIR "${BLD_TOP}/bin" #define BLD_INC_DIR "/usr/include/${BLD_PRODUCT}" #define BLD_EXP_OBJ_DIR "${BLD_TOP}/obj" + +#ifndef MAX_FLOAT +#define MAX_FLOAT 3.40282347e+38F +#endif |