X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da0766ab2ae2357cd4dc111415731ee85aa45984..c81c6d5400f732e89d41a7a3ab0eb824761ac52c:/src/mac/carbon/mimetmac.cpp diff --git a/src/mac/carbon/mimetmac.cpp b/src/mac/carbon/mimetmac.cpp index 1ea83612c2..8231b601a1 100644 --- a/src/mac/carbon/mimetmac.cpp +++ b/src/mac/carbon/mimetmac.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence (part of wxExtra library) ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "mimetype.h" #endif @@ -20,10 +20,6 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/defs.h" -#endif - #ifndef WX_PRECOMP #include "wx/string.h" #if wxUSE_GUI @@ -32,6 +28,8 @@ #endif //WX_PRECOMP +#if wxUSE_MIMETYPE + #include "wx/log.h" #include "wx/file.h" #include "wx/intl.h" @@ -226,3 +224,4 @@ wxMimeTypesManagerImpl::Unassociate(wxFileType *ft) return FALSE; } +#endif //wxUSE_MIMETYPE \ No newline at end of file