From 5b6808e9c3f08e4a1cc51de3003fcc3cee4e3f2d Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Sat, 24 May 2003 14:11:53 +0000 Subject: ChangeLogTag: Sat May 24 14:09:12 UTC 2003 Johnny Willemsen --- ChangeLog | 8 ++++++++ ace/Log_Msg.cpp | 2 -- ace/config-cygwin32.h | 6 ++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 329e78802a1..bb1bd8a623a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Sat May 24 14:10:33 UTC 2003 Johnny Willemsen + + * ace/Log_Msg.cpp: + Removed cygwin specific code, isn't needed anymore + + * ace/config-cygwin32.h: + Cygwin supports mmap and msync. + Fri May 23 22:20:14 2003 Balachandran Natarajan * Kokyu/Kokyu.cpp: Fixed fuzz errors. diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp index 075c4a8e38d..0f0c97bf766 100644 --- a/ace/Log_Msg.cpp +++ b/ace/Log_Msg.cpp @@ -914,8 +914,6 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, && !defined(__MINGW32__) #if defined (__FreeBSD__) || defined(__QNX__) || defined(__APPLE__) extern const int sys_nerr; -#elif defined (__CYGWIN32__) -# define sys_nerr _sys_nerr #else extern int sys_nerr; #endif /* !__FreeBSD__ && !__QNX__ && !__APPLE__ */ diff --git a/ace/config-cygwin32.h b/ace/config-cygwin32.h index 28bfdf059f4..eaa1472435a 100644 --- a/ace/config-cygwin32.h +++ b/ace/config-cygwin32.h @@ -40,8 +40,7 @@ #define ACE_LACKS_TELLDIR #define ACE_LACKS_SYSV_SHMEM -#define ACE_LACKS_MMAP -#define ACE_LACKS_MPROTECT +#define ACE_HAS_BROKEN_MAP_FAILED #define ACE_LACKS_SEMBUF_T #define ACE_LACKS_NAMED_POSIX_SEM @@ -111,7 +110,7 @@ #define ACE_DEFAULT_SELECT_REACTOR_SIZE 256 -#define ACE_HAS_GETPAGESIZE 1 +#define ACE_HAS_GETPAGESIZE // Platform lacks POSIX prototypes for certain System V functions // like shared memory and message queues. @@ -119,7 +118,6 @@ #define ACE_LACKS_STRRECVFD -#define ACE_LACKS_MSYNC #define ACE_LACKS_MADVISE #define ACE_HAS_SUNOS4_GETTIMEOFDAY -- cgit v1.2.1