Author: faridz
Date: Tue Sep 30 08:14:21 2008
New Revision: 700495
URL: http://svn.apache.org/viewvc?rev=700495&view=rev
Log:
2008-09-30 Farid Zaripov <[EMAIL PROTECTED]>
* include/rw/_atomic-x86.h [!_MSC_VER && _RWSTD_INTERLOCKED_T]:
Moved closing brace of the extern "C" block to the proper location.
Modified:
stdcxx/branches/4.2.x/include/rw/_atomic-x86.h
Modified: stdcxx/branches/4.2.x/include/rw/_atomic-x86.h
URL:
http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_atomic-x86.h?rev=700495&r1=700494&r2=700495&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_atomic-x86.h (original)
+++ stdcxx/branches/4.2.x/include/rw/_atomic-x86.h Tue Sep 30 08:14:21 2008
@@ -61,14 +61,14 @@
__declspec (dllimport) long __stdcall
InterlockedExchange (_RWSTD_INTERLOCKED_T*, long);
+} // extern "C"
+
inline long _InterlockedIncrement (volatile long *__x)
{
return InterlockedIncrement (
_RWSTD_CONST_CAST (_RWSTD_INTERLOCKED_T*, __x));
}
-} // extern "C"
-
inline long _InterlockedDecrement (volatile long *__x)
{
return InterlockedDecrement (