* dcrt0.cc (cygwin_atexit): Change preceeding comment to reflect

API version numbers.
	* external.cc (cygwin_internal): disable setting cxx_malloc on 64 bit.
	Add CW_FIXED_ATEXIT case.
	* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
	* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_FIXED_ATEXIT.
	* lib/atexit.c (atexit): Test running Cygwin version by checking
	return value of cygwin_internal (CW_FIXED_ATEXIT).
This commit is contained in:
Corinna Vinschen
2014-11-06 15:32:21 +00:00
parent 97e2f27aa1
commit dfc361dad4
6 changed files with 46 additions and 11 deletions

View File

@ -150,7 +150,8 @@ typedef enum
CW_GETNSSSEP,
CW_GETPWSID,
CW_GETGRSID,
CW_CYGNAME_FROM_WINNAME
CW_CYGNAME_FROM_WINNAME,
CW_FIXED_ATEXIT
} cygwin_getinfo_types;
#define CW_LOCK_PINFO CW_LOCK_PINFO
@ -208,6 +209,7 @@ typedef enum
#define CW_GETPWSID CW_GETPWSID
#define CW_GETGRSID CW_GETGRSID
#define CW_CYGNAME_FROM_WINNAME CW_CYGNAME_FROM_WINNAME
#define CW_FIXED_ATEXIT CW_FIXED_ATEXIT
/* Token type for CW_SET_EXTERNAL_TOKEN */
enum