fullpath variable was missing for _WIN32

This commit is contained in:
zicodxx 2010-09-25 13:55:22 +00:00
parent 403169df7e
commit 6b9a3b0c77
2 changed files with 4 additions and 0 deletions

View file

@ -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
--------

View file

@ -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];