* winsup.h: Turn off previous workaround but leave a comment.

This commit is contained in:
Christopher Faylor 2014-02-11 18:41:36 +00:00
parent f8efc42f66
commit 45f9ca0c9d
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-02-11 Christopher Faylor <me.cygwin2014@cgf.cx>
* winsup.h: Turn off previous workaround but leave a comment.
2014-02-11 Corinna Vinschen <corinna@vinschen.de> 2014-02-11 Corinna Vinschen <corinna@vinschen.de>
* ldap.cc (rediscover_thread): Give argument a useful name. * ldap.cc (rediscover_thread): Give argument a useful name.

View File

@ -285,9 +285,16 @@ extern "C" char _data_start__, _data_end__, _bss_start__, _bss_end__;
extern "C" void (*__CTOR_LIST__) (void); extern "C" void (*__CTOR_LIST__) (void);
extern "C" void (*__DTOR_LIST__) (void); extern "C" void (*__DTOR_LIST__) (void);
#ifdef NEEDED
/* This was inexplicably needed after updating a toolchain.
The need disappeared when updating further but I'm keeping
it around temporarily in case the issue crops up again.
This manifests as SEGVs in one of the Interlocked functions below
in kernel32.dll. */
#define InterlockedDecrement _InterlockedDecrement #define InterlockedDecrement _InterlockedDecrement
#define InterlockedExchange _InterlockedExchange #define InterlockedExchange _InterlockedExchange
#define InterlockedIncrement _InterlockedIncrement #define InterlockedIncrement _InterlockedIncrement
#endif /*NEEDED*/
#ifndef NO_GLOBALS_H #ifndef NO_GLOBALS_H
#define _RDATA /* See globals.h */ #define _RDATA /* See globals.h */