(PSP1) Buildfix

This commit is contained in:
twinaphex 2015-09-21 22:48:50 +02:00
parent 9d67d48036
commit 15b7fa545d

View File

@ -78,6 +78,9 @@
#endif
#if defined(VITA)
#define FIO_SO_ISDIR PSP2_S_ISDIR
#endif
/**
* path_get_extension:
@ -176,7 +179,7 @@ bool path_is_directory(const char *path)
SceIoStat buf;
if (sceIoGetstat(path, &buf) < 0)
return false;
return PSP2_S_ISDIR(buf.st_mode);
return FIO_SO_ISDIR(buf.st_mode);
#elif defined(__CELLOS_LV2__)
CellFsStat buf;
if (cellFsStat(path, &buf) < 0)