* winsup.h (Interlocked*): Use intrinsic versions of Interlocked functions.

* cygwin.sc.in: More closely emulate default pe/i386 linker script.
This commit is contained in:
Christopher Faylor
2014-02-11 06:27:57 +00:00
parent 85827fa685
commit 026a2445d1
3 changed files with 37 additions and 18 deletions

View File

@@ -285,6 +285,10 @@ extern "C" char _data_start__, _data_end__, _bss_start__, _bss_end__;
extern "C" void (*__CTOR_LIST__) (void);
extern "C" void (*__DTOR_LIST__) (void);
#define InterlockedDecrement _InterlockedDecrement
#define InterlockedExchange _InterlockedExchange
#define InterlockedIncrement _InterlockedIncrement
#ifndef NO_GLOBALS_H
#define _RDATA /* See globals.h */
#include "globals.h"