From 8f934bc2f7c80ed4f14bb43c7add9e7f9dbb64cc Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 4 Apr 2006 11:37:55 +0000 Subject: [PATCH] add ERANGE --- libc/strtod.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc/strtod.c b/libc/strtod.c index b9d30bc..7df7690 100644 --- a/libc/strtod.c +++ b/libc/strtod.c @@ -65,6 +65,10 @@ struct Tab char* cmp; }; +#ifndef ERANGE +#define ERANGE 12345 +#endif + double fmtstrtod(const char *as, char **aas) {