code: drawterm

Download patch

ref: 8f934bc2f7c80ed4f14bb43c7add9e7f9dbb64cc
parent: a033ac892e17f6c70d6c2e17efbb0ece5384ceb5
author: Russ Cox <rsc@swtch.com>
date: Tue Apr 4 07:37:55 EDT 2006

add ERANGE

--- a/libc/strtod.c
+++ b/libc/strtod.c
@@ -65,6 +65,10 @@
 	char*	cmp;
 };
 
+#ifndef ERANGE
+#define ERANGE 12345
+#endif
+
 double
 fmtstrtod(const char *as, char **aas)
 {