Author: tkreuzer
Date: Wed Dec 29 11:42:10 2010
New Revision: 50211
URL:
http://svn.reactos.org/svn/reactos?rev=50211&view=rev
Log:
[STLPORT]
- Add some additional definitions for amd64 compilation with gcc
Modified:
branches/cmake-bringup/include/c++/stlport/stl/config/_reactos.h
Modified: branches/cmake-bringup/include/c++/stlport/stl/config/_reactos.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/c%2B%2B/s…
==============================================================================
--- branches/cmake-bringup/include/c++/stlport/stl/config/_reactos.h [iso-8859-1]
(original)
+++ branches/cmake-bringup/include/c++/stlport/stl/config/_reactos.h [iso-8859-1] Wed Dec
29 11:42:10 2010
@@ -305,4 +305,21 @@
// Include stlport windows specifics
#include "_windows.h"
-#endif
+#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