]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/file.h
corrected release target which included some include files in the build
[wxWidgets.git] / include / wx / protocol / file.h
index 773cdcc5b2151b52054f1f373b376110bbc98800..3b2d3470e0510418ab1f2355ea595f5561463aee 100644 (file)
@@ -8,13 +8,18 @@
 // Copyright:   (c) 1997, 1998 Guilhem Lavaux
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
+
 #ifndef __WX_PROTO_FILE_H__
 #define __WX_PROTO_FILE_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "sckfile.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_PROTOCOL_FILE
+
 #include "wx/protocol/protocol.h"
 #include "wx/url.h"
 
@@ -32,4 +37,6 @@ public:
   wxInputStream *GetInputStream(const wxString& path);
 };
 
-#endif
+#endif // wxUSE_PROTOCOL_FILE
+
+#endif // __WX_PROTO_FILE_H__