mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Applied patch #6677
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27080 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4e37cbbca4
commit
c4a2f62ad0
35 changed files with 142 additions and 88 deletions
|
@ -28,9 +28,10 @@
|
|||
/* On some versions of mingw we need to work around bad function declarations
|
||||
* by defining them away and doing the declarations ourself later.
|
||||
*/
|
||||
#ifndef _WIN64
|
||||
#define InterlockedIncrement BadInterlockedIncrement
|
||||
#define InterlockedDecrement BadInterlockedDecrement
|
||||
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
|
@ -211,11 +212,12 @@ static void GSLogZombie(id o, SEL sel)
|
|||
#if defined(REFCNT_LOCAL)
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
|
||||
#ifndef _WIN64
|
||||
#undef InterlockedIncrement
|
||||
#undef InterlockedDecrement
|
||||
LONG WINAPI InterlockedIncrement(LONG volatile *);
|
||||
LONG WINAPI InterlockedDecrement(LONG volatile *);
|
||||
#endif
|
||||
|
||||
/* Set up atomic read, increment and decrement for mswindows
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue