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"