diff options
author | Guenter Knauf <fuankg@apache.org> | 2011-03-25 16:45:00 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2011-03-25 16:45:00 +0000 |
commit | 04997064382a3081a9211f3ad4164fe3dd776c85 (patch) | |
tree | 5ce9a515fe2b4c908e138da3c8374817e7a33f70 /atomic | |
parent | a6e4bc972ac22170b600ab97c0de3303ea3d8ec2 (diff) | |
download | apr-04997064382a3081a9211f3ad4164fe3dd776c85.tar.gz |
Added blocking for MSVC pragma.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1085462 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic')
-rw-r--r-- | atomic/win32/apr_atomic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atomic/win32/apr_atomic.c b/atomic/win32/apr_atomic.c index 973c679e5..1ed7df893 100644 --- a/atomic/win32/apr_atomic.c +++ b/atomic/win32/apr_atomic.c @@ -54,7 +54,9 @@ APR_DECLARE(apr_uint32_t) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint3 } /* 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) { |