]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dirmac.cpp
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / src / mac / dirmac.cpp
index 2a3e4c7221b64db7bb4dfa4eb64c7391b821b6b0..36835cd68cb7ec10f1ed124310adb4aa51634412 100644 (file)
 #include "wx/dir.h"
 #include "wx/filefn.h"          // for wxPathExists()
 
-#ifndef __WXMAC_X__
+#ifndef __DARWIN__
   #include <windows.h>
 #endif
 
-#if defined(__WXMAC__) && !defined(__UNIX__)
+#ifndef __DARWIN__
   #include "morefile.h"
   #include "moreextr.h"
   #include "fullpath.h"
@@ -118,7 +118,7 @@ wxDirData::wxDirData(const wxString& dirname)
        m_CPB.hFileInfo.ioNamePtr = m_name ;
        m_index = 0 ;
 
-#ifdef __WXMAC_X__
+#ifdef __DARWIN__
        // TODO: what are we supposed to do for Mac OS X
 #else
        FSpGetDirectoryID( &fsspec , &m_dirId , &m_isDir ) ;