summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Basic/Events.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Basic/Events.h')
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/Events.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Basic/Events.h b/TAO/orbsvcs/tests/Notify/Basic/Events.h
index e7493489b67..1c2ad251bcb 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/Events.h
+++ b/TAO/orbsvcs/tests/Notify/Basic/Events.h
@@ -22,7 +22,9 @@
#include "Notify_StructuredPushSupplier.h"
#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -125,7 +127,7 @@ private:
/***************************************************************************/
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#pragma warning(pop)
#endif /* _MSC_VER */