* rdi-share/etherdrv.c (EthernetWrite): Use strerror to get
error string if in an ANSI C-ish environment.
+Thu Apr 16 13:13:24 1998 Jason Molenda (crash@bugshack.cygnus.com)
+
+ * rdi-share/etherdrv.c (EthernetWrite): Use strerror to get
+ error string if in an ANSI C-ish environment.
+
Wed Apr 15 18:59:48 1998 Mark Alexander <marka@cygnus.com>
* sparc-tdep.c (SPARC_HAS_FPU): Define.
#ifdef DEBUG
perror("sendto");
#endif
+
#ifdef COMPILING_ON_WINDOWS
panic("ethernet send failure\n");
#else
/* might not work for Windows */
panic("ethernet send failure [%s]\n",
+#ifdef STDC_HEADERS
+ strerror(errno));
+#else
errno < sys_nerr ? sys_errlist[errno] : "unknown errno");
+#endif /* STDC_HEADERS */
#endif
}
#ifdef DEBUG