X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c781807d89448537ba1d6d8627ff153f3ecc581a:/include/wx/ffile.h?ds=sidebyside diff --git a/include/wx/ffile.h b/include/wx/ffile.h index 969aa40039..e8c4e3a72d 100644 --- a/include/wx/ffile.h +++ b/include/wx/ffile.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: ffile.h +// Name: wx/ffile.h // Purpose: wxFFile - encapsulates "FILE *" stream // Author: Vadim Zeitlin // Modified by: @@ -12,11 +12,13 @@ #ifndef _WX_FFILE_H_ #define _WX_FFILE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "ffile.h" #endif -#if wxUSE_FILE +#include "wx/defs.h" // for wxUSE_FFILE + +#if wxUSE_FFILE #ifndef WX_PRECOMP #include "wx/string.h" @@ -109,7 +111,7 @@ private: wxString m_name; // the name of the file (for diagnostic messages) }; -#endif // wxUSE_FILE +#endif // wxUSE_FFILE #endif // _WX_FFILE_H_