drawterm: add ERANGE to strtod
[rsc] --rw-rw-r-- M 391777 rsc drawterm 8407 Apr 5 13:03 sys/src/cmd/unix/drawterm/libc/strtod.c
/n/sourcesdump/2006/0405/plan9/sys/src/cmd/unix/drawterm/libc/strtod.c:65,70 -
/n/sourcesdump/2006/0406/plan9/sys/src/cmd/unix/drawterm/libc/strtod.c:65,74
char* cmp;
};
+ #ifndef ERANGE
+ #define ERANGE 12345
+ #endif
+
double
fmtstrtod(const char *as, char **aas)
{
|