diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 6 | ||||
-rw-r--r-- | ace/streams.h | 4 |
3 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index e1abaf66fee..647689c8db9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Jul 22 13:25:29 2002 Stephen Torri <storri@cs.wustl.edu> + + * ace/streams.h: Fixed _MSC_VER compiler warning messages stating + concern about using MSC_VER without assurance that the macro + was defined. + Mon Jul 22 12:20:21 2002 Krishnakumar B <kitty@cs.wustl.edu> * THANKS: Added Sean Ogle to the hall of fame. diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index e1abaf66fee..647689c8db9 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,9 @@ +Mon Jul 22 13:25:29 2002 Stephen Torri <storri@cs.wustl.edu> + + * ace/streams.h: Fixed _MSC_VER compiler warning messages stating + concern about using MSC_VER without assurance that the macro + was defined. + Mon Jul 22 12:20:21 2002 Krishnakumar B <kitty@cs.wustl.edu> * THANKS: Added Sean Ogle to the hall of fame. 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 */ |