fullpath variable was missing for _WIN32
This commit is contained in:
parent
403169df7e
commit
6b9a3b0c77
|
@ -3,6 +3,7 @@ D1X-Rebirth Changelog
|
|||
20100925
|
||||
--------
|
||||
include/cfile.h, include/physfsx.h, main/bmread.c, main/piggy.c, misc/physfsx.c: Add 'Data' subdir as a searchpath, simplifying a lot of file opening/checking/closing code
|
||||
misc/physfsx.c: fullpath variable was missing for _WIN32
|
||||
|
||||
20100919
|
||||
--------
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
// The user directory is searched first.
|
||||
void PHYSFSX_init(int argc, char *argv[])
|
||||
{
|
||||
#if defined (_WIN32)
|
||||
char fullPath[PATH_MAX + 5];
|
||||
#endif
|
||||
#if defined(__unix__)
|
||||
char *path = NULL;
|
||||
char fullPath[PATH_MAX + 5];
|
||||
|
|
Loading…
Reference in a new issue