platform/pocketpc.c
changeset 818 e36f23f49042
parent 810 fafcbe604881
child 828 ee871d51510d
--- a/platform/pocketpc.c	Sun Mar 11 10:52:35 2007 +0000
+++ b/platform/pocketpc.c	Sun Mar 11 22:50:53 2007 +0000
@@ -6,10 +6,14 @@
  *  This file written by Ryan C. Gordon.
  */
 
+#define __PHYSICSFS_INTERNAL__
+#include "physfs_platforms.h"
+
+#ifdef PHYSFS_PLATFORM_POCKETPC
+
 #include <stdio.h>
 #include <windows.h>
 
-#define __PHYSICSFS_INTERNAL__
 #include "physfs_internal.h"
 
 #define INVALID_FILE_ATTRIBUTES  0xFFFFFFFF
@@ -624,5 +628,7 @@
     free(ptr);
 } /* __PHYSFS_platformAllocatorFree */
 
+#endif  /* PHYSFS_PLATFORM_POCKETPC */
+
 /* end of pocketpc.c ... */