platform/skeleton.c
changeset 818 e36f23f49042
parent 809 116b8fe30371
child 828 ee871d51510d
--- a/platform/skeleton.c	Sun Mar 11 10:52:35 2007 +0000
+++ b/platform/skeleton.c	Sun Mar 11 22:50:53 2007 +0000
@@ -6,12 +6,14 @@
  *  This file written by Ryan C. Gordon.
  */
 
-#define __PHYSICSFS_INTERNAL__
-#include "physfs_internal.h"
-
-
 #error DO NOT COMPILE THIS. IT IS JUST A SKELETON EXAMPLE FILE.
 
+#define __PHYSICSFS_INTERNAL__
+#include "physfs_platforms.h"
+
+#ifdef PHYSFS_PLATFORM_SKELETON
+
+#include "physfs_internal.h"
 
 const char *__PHYSFS_platformDirSeparator = ":";
 
@@ -265,5 +267,8 @@
     free(ptr);
 } /* __PHYSFS_platformAllocatorFree */
 
+#endif  /* PHYSFS_PLATFORM_SKELETON */
+
+
 /* end of skeleton.c ... */