diff options
Diffstat (limited to 'ace/streams.h')
-rw-r--r-- | ace/streams.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/streams.h b/ace/streams.h index 2425a97969d..bf027a9438c 100644 --- a/ace/streams.h +++ b/ace/streams.h @@ -31,7 +31,7 @@ #endif /* ACE_LACKS_PRAGMA_ONCE */ // Do this so the #pragma warning in the MSVC headers do not // affect our #pragma warning settings -#if (_MSC_VER >= 1200) +#if defined (_MSC_VER) && (_MSC_VER >= 1200) #pragma warning(push) #endif /* _MSC_VER >= 1200 */ @@ -132,7 +132,7 @@ // Do this so the #pragma warning in the MSVC headers do not // affect our #pragma warning settings -#if (_MSC_VER >= 1200) +#if defined (_MSC_VER) && (_MSC_VER >= 1200) #pragma warning(pop) #endif /* _MSC_VER >= 1200 */ |