src/physfs_internal.h
changeset 1225 671d4ea47c13
parent 1224 51a6cd2ad280
child 1226 3ea51c799aba
--- a/src/physfs_internal.h	Thu Mar 15 00:40:00 2012 -0400
+++ b/src/physfs_internal.h	Thu Mar 15 01:54:57 2012 -0400
@@ -1031,11 +1031,15 @@
 
 
 /*
- * The dir separator; "/" on unix, "\\" on win32, ":" on MacOS, etc...
- *  Obviously, this isn't a function, but it IS a null-terminated string.
+ * The dir separator; '/' on unix, '\\' on win32, ":" on MacOS, etc...
+ *  Obviously, this isn't a function. If you need more than one char for this,
+ *  you'll need to pull some old pieces of PhysicsFS out of revision control.
  */
-extern const char *__PHYSFS_platformDirSeparator;
-
+#if (((defined _WIN32) || (defined _WIN64)) && (!defined __CYGWIN__))
+#define __PHYSFS_platformDirSeparator '\\'
+#else
+#define __PHYSFS_platformDirSeparator '/'
+#endif
 
 /*
  * Initialize the platform. This is called when PHYSFS_init() is called from