stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r614212 - in /stdcxx/branches/4.2.x: etc/config/src/ATOMIC_OPS.cpp include/rw/_mutex.h
Date Tue, 22 Jan 2008 14:50:55 GMT
Author: faridz
Date: Tue Jan 22 06:50:49 2008
New Revision: 614212

URL: http://svn.apache.org/viewvc?rev=614212&view=rev
Log:
2008-01-22  Farid Zaripov  <farid_zaripov@epam.com>

	* include/rw/_mutex.h: Remove unused declaration of the
	InterlockedXXX() Win32 API functions.
	* etc/config/src/ATOMIC_OPS.cpp: Delete unused configuration test.

Removed:
    stdcxx/branches/4.2.x/etc/config/src/ATOMIC_OPS.cpp
Modified:
    stdcxx/branches/4.2.x/include/rw/_mutex.h

Modified: stdcxx/branches/4.2.x/include/rw/_mutex.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_mutex.h?rev=614212&r1=614211&r2=614212&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_mutex.h (original)
+++ stdcxx/branches/4.2.x/include/rw/_mutex.h Tue Jan 22 06:50:49 2008
@@ -119,12 +119,6 @@
 #    include <windows.h>
 #    define _RWSTD_MUTEX_T _RTL_CRITICAL_SECTION
 
-#    ifndef _MSC_VER
-#      define _InterlockedIncrement InterlockedIncrement
-#      define _InterlockedDecrement InterlockedDecrement
-#      define _InterlockedExchange  InterlockedExchange
-#    endif    // _MSC_VER
-
 #  else   // if defined (_RWSTD_NO_FWD_DECLARATIONS)
 
    // avoid #including this header (MFC doesn't like it)
@@ -146,24 +140,6 @@
 
 __declspec (dllimport) void __stdcall
 DeleteCriticalSection (_RTL_CRITICAL_SECTION*);
-
-
-#if defined (_RWSTD_INTERLOCKED_T) && !defined (_MSC_VER)
-
-__declspec (dllimport) long __stdcall
-InterlockedIncrement (_RWSTD_INTERLOCKED_T*);
-
-__declspec (dllimport) long __stdcall
-InterlockedDecrement (_RWSTD_INTERLOCKED_T*);
-
-__declspec (dllimport) long __stdcall
-InterlockedExchange (_RWSTD_INTERLOCKED_T*, long);
-
-#  define _InterlockedIncrement InterlockedIncrement
-#  define _InterlockedDecrement InterlockedDecrement
-#  define _InterlockedExchange  InterlockedExchange
-
-#endif   // _RWSTD_INTERLOCKED_T && !_MSC_VER
 
 }   // extern "C"
 



Mime
View raw message