summaryrefslogtreecommitdiff
path: root/ACE/ace/Object_Manager_Base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Object_Manager_Base.cpp')
-rw-r--r--ACE/ace/Object_Manager_Base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Object_Manager_Base.cpp b/ACE/ace/Object_Manager_Base.cpp
index 6cd773ed13a..da0fde21b4d 100644
--- a/ACE/ace/Object_Manager_Base.cpp
+++ b/ACE/ace/Object_Manager_Base.cpp
@@ -258,11 +258,11 @@ ACE_OS_Object_Manager::init (void)
# if defined (ACE_WIN32) && defined (ACE_HAS_WIN32_GETVERSION)
/* Since MS found it necessary to deprecate these. */
-# pragma warning disable 4996
+# pragma warning(disable:4996)
ACE_OS::win32_versioninfo_.dwOSVersionInfoSize =
sizeof (ACE_TEXT_OSVERSIONINFO);
ACE_TEXT_GetVersionEx (&ACE_OS::win32_versioninfo_);
-# pragma warning enable 4996
+# pragma warning(enable:4996)
# endif /* ACE_WIN32 */
return 0;
} else {