Mail Archives: cygwin/2001/05/17/15:38:08
Hi,
I am not sure who maintains compface...
Anyway, I needed to change cmain.c and uncmain.c regarding errno to be
able to compile it on cygwin. Here are the diffs, maybe someone could
put this into a distribution?
Greetings,
Jochen
PS: Copying to cygwin list, maybe someone has a use for it.
I am using the latest cygwin dll.
--
University of North Carolina phone: 919-962-1579
Department of Chemistry fax: 919-843-6041
Venable Hall CB#3290 GnuPG key: 44BCCD8E
Chapel Hill, NC 27599, USA
diff -u cmain.c-orig cmain.c
--- cmain.c-orig Wed Nov 22 19:51:03 2000
+++ cmain.c Thu May 17 15:15:17 2001
@@ -53,11 +53,12 @@
/* error handling definitions follow */
+#include <errno.h>
+
#ifndef HAVE_STRERROR
-extern int errno, sys_nerr;
+extern int sys_nerr;
extern char *sys_errlist[];
#else
-extern int errno;
char *strerror();
char *strerrorwrap();
#endif
diff -u uncmain.c-orig uncmain.c
--- uncmain.c-orig Wed Nov 22 19:51:24 2000
+++ uncmain.c Thu May 17 15:16:18 2001
@@ -53,11 +53,12 @@
/* error handling definitions follow */
+#include <errno.h>
+
#ifndef HAVE_STRERROR
-extern int errno, sys_nerr;
+extern int sys_nerr;
extern char *sys_errlist[];
#else
-extern int errno;
char *strerror();
char *strerrorwrap();
#endif
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -