From 5ec9ea21a369a5e25fb0fad61535879bba153976 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 22 Oct 2003 20:32:20 +0000 Subject: * external.cc (cygwin_internal): Add CW_GET_ERRNO_FROM_WINERROR handling. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_ERRNO_FROM_WINERROR. --- winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/cygwin/include/sys/cygwin.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/include') diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index c4c3c9edb..0e26b0840 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -220,13 +220,14 @@ details. */ 94: Export getopt, getopt_long, optarg, opterr, optind, optopt, optreset, __check_rhosts_file, __rcmd_errstr. 95: Export shmat, shmctl, shmdt, shmget. + 96: CW_GET_ERRNO_FROM_WINERROR addition to external.cc */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 95 +#define CYGWIN_VERSION_API_MINOR 96 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 36c3f53b1..d2e1a4171 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -72,7 +72,8 @@ typedef enum CW_CYGWIN_PID_TO_WINPID, CW_EXTRACT_DOMAIN_AND_USER, CW_CMDLINE, - CW_CHECK_NTSEC + CW_CHECK_NTSEC, + CW_GET_ERRNO_FROM_WINERROR } cygwin_getinfo_types; #define CW_NEXTPID 0x80000000 /* or with pid to get next one */ -- cgit v1.2.3