diff options
author | Eric W. Hillis (CTR) 1286605326@mil <eric.hillis.ctr@navy.mil> | 2019-07-03 18:52:17 -0700 |
---|---|---|
committer | Eric W. Hillis (CTR) 1286605326@mil <eric.hillis.ctr@navy.mil> | 2019-07-03 18:52:17 -0700 |
commit | b6c96e8c56c91eb6f7d34db227bde72ebd781ca4 (patch) | |
tree | 4ca068e594e6afda3ec9b283dfabf7de383579a3 | |
parent | 5b391cf2ee1461c4652f57a88d109c653a0a4139 (diff) | |
download | ATCD-b6c96e8c56c91eb6f7d34db227bde72ebd781ca4.tar.gz |
Updated config for latest Cygwin
-rw-r--r-- | ACE/ace/config-cygwin32.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ACE/ace/config-cygwin32.h b/ACE/ace/config-cygwin32.h index 892707740f8..d97c5bc9bfe 100644 --- a/ACE/ace/config-cygwin32.h +++ b/ACE/ace/config-cygwin32.h @@ -43,6 +43,27 @@ #include /**/ <cygwin/version.h> +#if CYGWIN_VERSION_API_MINOR >= 338 +// Code #defines added to support the latest (as of 6/2019) version of Cygwin +#define ACE_HAS_UCONTEXT_T 1 +#define ACE_LACKS_CUSERID 1 +#define ACE_HAS_WCHAR +#define ACE_DISABLE_MKTEMP +#define ACE_HAS_3_PARAM_WCSTOK +#define ACE_LACKS_WCSICMP +#define ACE_LACKS_WCSNICMP +#define ACE_LACKS_STRPTIME +#define ACE_LACKS_SWAB +#define ACE_LACKS_STD_WSTRING + +// Recommend adding the following #define to config.h to get around compile warnings related to +// the use of auto_ptr which is deprecated in C++ 11, since Cygwin now uses +// GNU C++ compiler version 7.4.0. +// +// #define ACE_HAS_CPP11 + +#endif + // Needed to differentiate between libc 5 and libc 6 (aka glibc). // It's there on all libc 5 systems I checked. #include /**/ <features.h> |