]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/filefnwce.cpp
Further steps towards media control support in WinCE (Ryan Norton)
[wxWidgets.git] / src / msw / wince / filefnwce.cpp
index ba56448e41d5f20db452c3f697c82c2ab714e977..c9bce9c17dff9dda2fd432723c40eb86c0f97a71 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "filefn.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 #include "wx/defs.h"
@@ -34,9 +30,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <fcntl.h>
 
-#ifdef __WINCE__
+#ifdef __WXWINCE__
+#include "wx/msw/wince/missing.h"
 
 int wxOpen(const wxChar *filename, int oflag, int WXUNUSED(pmode))
 {
@@ -211,4 +207,4 @@ int wxFsync(int WXUNUSED(fd))
     return 0;
 }
 
-#endif //__WINCE__
+#endif //__WXWINCE__