--- a/src/platform_unix.c Sun Mar 11 03:56:24 2012 -0400
+++ b/src/platform_unix.c Sun Mar 11 04:19:36 2012 -0400
@@ -290,21 +290,6 @@
} /* __PHYSFS_platformCalcBaseDir */
-char *__PHYSFS_platformRealPath(const char *path)
-{
- char resolved_path[MAXPATHLEN];
- char *retval = NULL;
-
- errno = 0;
- BAIL_IF_MACRO(!realpath(path, resolved_path), strerror(errno), NULL);
- retval = (char *) allocator.Malloc(strlen(resolved_path) + 1);
- BAIL_IF_MACRO(retval == NULL, ERR_OUT_OF_MEMORY, NULL);
- strcpy(retval, resolved_path);
-
- return retval;
-} /* __PHYSFS_platformRealPath */
-
-
int __PHYSFS_platformSetDefaultAllocator(PHYSFS_Allocator *a)
{
return 0; /* just use malloc() and friends. */