summaryrefslogtreecommitdiff
path: root/src/include/port
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port')
-rw-r--r--src/include/port/beos.h3
-rw-r--r--src/include/port/win.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/include/port/beos.h b/src/include/port/beos.h
index 38a8eaa79e..58cb5eb485 100644
--- a/src/include/port/beos.h
+++ b/src/include/port/beos.h
@@ -7,9 +7,6 @@ typedef unsigned char slock_t;
#define AF_UNIX 10 /* no domain sockets on BeOS */
-/* Beos doesn't have sysnerr but strerror should works on every error */
-extern int sys_nerr;
-
/* Beos doesn't have all the required getrusage fields */
#undef HAVE_GETRUSAGE
diff --git a/src/include/port/win.h b/src/include/port/win.h
index bae6de53f6..91b1b1e6d6 100644
--- a/src/include/port/win.h
+++ b/src/include/port/win.h
@@ -9,6 +9,3 @@ typedef unsigned char slock_t;
#define HAVE_INT_TIMEZONE /* has int _timezone */
#include <cygwin/version.h>
-#if (CYGWIN_VERSION_API_MAJOR >= 0) && (CYGWIN_VERSION_API_MINOR >= 8)
-#define sys_nerr _sys_nerr
-#endif