fix non-extflonum build
This commit is contained in:
parent
8122249602
commit
1e31d99ca3
|
@ -93,6 +93,8 @@ typedef struct {
|
||||||
# else
|
# else
|
||||||
typedef long double mz_long_double;
|
typedef long double mz_long_double;
|
||||||
# endif
|
# endif
|
||||||
|
#else
|
||||||
|
typedef double mz_long_double;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DONT_ITIMER
|
#ifdef DONT_ITIMER
|
||||||
|
|
|
@ -1204,10 +1204,14 @@ Scheme_Object *scheme_read_number(const mzchar *str, intptr_t len,
|
||||||
&& (len <= MAX_FAST_FLOATREAD_LEN)
|
&& (len <= MAX_FAST_FLOATREAD_LEN)
|
||||||
&& (!is_long_double || MZ_LONG_DOUBLE_AND(1))) {
|
&& (!is_long_double || MZ_LONG_DOUBLE_AND(1))) {
|
||||||
double d = 1.0;
|
double d = 1.0;
|
||||||
long_double ld;
|
#ifdef MZ_LONG_DOUBLE
|
||||||
|
mz_long_double ld;
|
||||||
|
#endif
|
||||||
GC_CAN_IGNORE char *ptr;
|
GC_CAN_IGNORE char *ptr;
|
||||||
|
|
||||||
|
#ifdef MZ_LONG_DOUBLE
|
||||||
memset(&ld, 0, sizeof(ld)); /* avoid a compiler warning */
|
memset(&ld, 0, sizeof(ld)); /* avoid a compiler warning */
|
||||||
|
#endif
|
||||||
|
|
||||||
if (has_expt && !(str[has_expt + 1])) {
|
if (has_expt && !(str[has_expt + 1])) {
|
||||||
if (report)
|
if (report)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user