IFDEF for Phys 2.0 which has no mountHandle - result will just be no hwp in hwp on those systems, which would be rarely used and DLC only.
--- a/misc/libphyslayer/hwpacksmounter.c Thu May 17 20:04:07 2018 -0400
+++ b/misc/libphyslayer/hwpacksmounter.c Fri May 18 09:56:56 2018 -0400
@@ -49,12 +49,14 @@
{
if (strcmp(dir + dirLength - 4, ".hwp") == 0)
{
+#if PHYSFS_VER_MAJOR > 2 || PHYSFS_VER_MINOR > 0
char * uniqName = (char *)malloc(strlen(dir) + fileNameLength + 2);
strcpy(uniqName, dir);
strcat(uniqName, ",");
strcat(uniqName, fileName);
PHYSFS_mountHandle(PHYSFS_openRead(fileName), uniqName, NULL, 0);
free(uniqName);
+#endif
}
else
{