diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-10-22 20:32:20 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-10-22 20:32:20 +0000 |
commit | 5ec9ea21a369a5e25fb0fad61535879bba153976 (patch) | |
tree | b77414bd184b23c7f1ea90d05d20a76a8198da47 /winsup/cygwin/include | |
parent | e217832c4c4d8dba3c13af35b1d107851271b77d (diff) | |
download | cygnal-5ec9ea21a369a5e25fb0fad61535879bba153976.tar.gz cygnal-5ec9ea21a369a5e25fb0fad61535879bba153976.tar.bz2 cygnal-5ec9ea21a369a5e25fb0fad61535879bba153976.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 3 |
2 files changed, 4 insertions, 2 deletions
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 */ |