summaryrefslogtreecommitdiff
path: root/ACE/tests
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2017-08-09 08:40:28 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2017-08-09 08:40:28 +0200
commit08e91a5f675152759c0fb794644ce43b94749911 (patch)
tree59768769001415eddc111b7ded4ad00ab18bc542 /ACE/tests
parentcb2bea59ab06ed4e1887c2bb86b04653dd0fee05 (diff)
downloadATCD-08e91a5f675152759c0fb794644ce43b94749911.tar.gz
Corrected placing pragma pop for bcc32c
* ACE/tests/Malloc_Test.cpp:
Diffstat (limited to 'ACE/tests')
-rw-r--r--ACE/tests/Malloc_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/Malloc_Test.cpp b/ACE/tests/Malloc_Test.cpp
index 3fc62140064..31fc68e9af0 100644
--- a/ACE/tests/Malloc_Test.cpp
+++ b/ACE/tests/Malloc_Test.cpp
@@ -321,11 +321,11 @@ get_base_addrs (void)
# endif /* __clang__ */
OSVERSIONINFO vinfo;
vinfo.dwOSVersionInfoSize = sizeof (OSVERSIONINFO);
+ if (::GetVersionEx(&vinfo) == 0)
+ return;
# if defined(__clang__)
# pragma clang diagnostic pop
# endif /* __clang__ */
- if (::GetVersionEx(&vinfo) == 0)
- return;
if (vinfo.dwPlatformId == VER_PLATFORM_WIN32_NT &&
vinfo.dwMajorVersion >= 4)