apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1085462 - in /apr/apr: branches/1.3.x/atomic/win32/apr_atomic.c branches/1.4.x/atomic/win32/apr_atomic.c branches/1.5.x/atomic/win32/apr_atomic.c trunk/atomic/win32/apr_atomic.c
Date Fri, 25 Mar 2011 16:45:00 GMT
Author: fuankg
Date: Fri Mar 25 16:45:00 2011
New Revision: 1085462

URL: http://svn.apache.org/viewvc?rev=1085462&view=rev
Log:
Added blocking for MSVC pragma.

Modified:
    apr/apr/branches/1.3.x/atomic/win32/apr_atomic.c
    apr/apr/branches/1.4.x/atomic/win32/apr_atomic.c
    apr/apr/branches/1.5.x/atomic/win32/apr_atomic.c
    apr/apr/trunk/atomic/win32/apr_atomic.c

Modified: apr/apr/branches/1.3.x/atomic/win32/apr_atomic.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/atomic/win32/apr_atomic.c?rev=1085462&r1=1085461&r2=1085462&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/atomic/win32/apr_atomic.c (original)
+++ apr/apr/branches/1.3.x/atomic/win32/apr_atomic.c Fri Mar 25 16:45:00 2011
@@ -54,7 +54,9 @@ APR_DECLARE(apr_uint32_t) apr_atomic_add
 }
 
 /* Of course we want the 2's compliment of the unsigned value, val */
+#ifdef _MSC_VER
 #pragma warning(disable: 4146)
+#endif
 
 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val)
 {

Modified: apr/apr/branches/1.4.x/atomic/win32/apr_atomic.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/atomic/win32/apr_atomic.c?rev=1085462&r1=1085461&r2=1085462&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/atomic/win32/apr_atomic.c (original)
+++ apr/apr/branches/1.4.x/atomic/win32/apr_atomic.c Fri Mar 25 16:45:00 2011
@@ -54,7 +54,9 @@ APR_DECLARE(apr_uint32_t) apr_atomic_add
 }
 
 /* Of course we want the 2's compliment of the unsigned value, val */
+#ifdef _MSC_VER
 #pragma warning(disable: 4146)
+#endif
 
 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val)
 {

Modified: apr/apr/branches/1.5.x/atomic/win32/apr_atomic.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/atomic/win32/apr_atomic.c?rev=1085462&r1=1085461&r2=1085462&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/atomic/win32/apr_atomic.c (original)
+++ apr/apr/branches/1.5.x/atomic/win32/apr_atomic.c Fri Mar 25 16:45:00 2011
@@ -54,7 +54,9 @@ APR_DECLARE(apr_uint32_t) apr_atomic_add
 }
 
 /* Of course we want the 2's compliment of the unsigned value, val */
+#ifdef _MSC_VER
 #pragma warning(disable: 4146)
+#endif
 
 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val)
 {

Modified: apr/apr/trunk/atomic/win32/apr_atomic.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/atomic/win32/apr_atomic.c?rev=1085462&r1=1085461&r2=1085462&view=diff
==============================================================================
--- apr/apr/trunk/atomic/win32/apr_atomic.c (original)
+++ apr/apr/trunk/atomic/win32/apr_atomic.c Fri Mar 25 16:45:00 2011
@@ -54,7 +54,9 @@ APR_DECLARE(apr_uint32_t) apr_atomic_add
 }
 
 /* Of course we want the 2's compliment of the unsigned value, val */
+#ifdef _MSC_VER
 #pragma warning(disable: 4146)
+#endif
 
 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val)
 {



Mime
View raw message