Author: faridz
Date: Mon Aug 27 10:50:54 2007
New Revision: 570199
URL: http://svn.apache.org/viewvc?rev=570199&view=rev
Log:
2007-08-27 Farid Zaripov <[EMAIL PROTECTED]>
STDCXX-538
* ATOMIC_OPS.cpp: Determine the argument type of InterlockedIncrement()
only on Win32 platform.
Modified:
incubator/stdcxx/trunk/etc/config/src/ATOMIC_OPS.cpp
Modified: incubator/stdcxx/trunk/etc/config/src/ATOMIC_OPS.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/ATOMIC_OPS.cpp?rev=570199&r1=570198&r2=570199&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/ATOMIC_OPS.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/ATOMIC_OPS.cpp Mon Aug 27 10:50:54
2007
@@ -1,6 +1,6 @@
// checking for atomic operations
-#if defined (_WIN32) || defined (_WIN64)
+#if defined (_WIN32) && !defined (_WIN64)
#include <stdio.h>
#include <windows.h>
@@ -34,7 +34,7 @@
return 0;
}
-#else // not Windows
+#else // not 32-bit Windows
#include <stdio.h>