From 2f31c6ec8187fb2381591eb205beb6eaa3082e12 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 8 Aug 2005 21:46:31 +0000 Subject: [PATCH] correct -Wundef warning for __MSL__ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dc.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mac/carbon/dc.cpp b/src/mac/carbon/dc.cpp index d4dc936fcd..d1cfb0411d 100644 --- a/src/mac/carbon/dc.cpp +++ b/src/mac/carbon/dc.cpp @@ -26,9 +26,11 @@ #include "wx/image.h" #include "wx/log.h" -#if __MSL__ >= 0x6000 -namespace std {} -using namespace std ; +#ifdef __MSL__ + #if __MSL__ >= 0x6000 + namespace std {} + using namespace std ; + #endif #endif #include "wx/mac/private.h" -- 2.45.2