mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:25:43 +00:00
[STLPORT]
- Add some additional definitions for amd64 compilation with gcc svn path=/branches/cmake-bringup/; revision=50211
This commit is contained in:
parent
dd830cafba
commit
88614730f8
1 changed files with 17 additions and 0 deletions
|
@ -305,4 +305,21 @@
|
||||||
// Include stlport windows specifics
|
// Include stlport windows specifics
|
||||||
#include "_windows.h"
|
#include "_windows.h"
|
||||||
|
|
||||||
|
#ifdef _M_AMD64
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
_STLP_IMPORT_DECLSPEC void* InterlockedFlushSList(void*);
|
||||||
|
_STLP_IMPORT_DECLSPEC void* InterlockedPopEntrySList(void*);
|
||||||
|
_STLP_IMPORT_DECLSPEC void* InterlockedPushEntrySList(void*, void*);
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#define InterlockedPopEntrySList(list) reinterpret_cast<_STLP_atomic_freelist::item*>(InterlockedPopEntrySList(list))
|
||||||
|
#define InterlockedFlushSList(list) reinterpret_cast<_STLP_atomic_freelist::item*>(InterlockedFlushSList(list))
|
||||||
|
|
||||||
|
#undef __cdecl__
|
||||||
|
#define __cdecl__
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue