Use correct header include for _fullpath

According to http://msdn.microsoft.com/en-us/library/506720ff(v=vs.120).aspx
This commit is contained in:
Tim Mayberry 2013-12-07 20:20:12 +10:00
parent a7961f04cf
commit dc60753dde

View File

@ -35,7 +35,7 @@ using std::vector;
#ifdef COMPILER_MINGW
#include <WTypes.h>
#include <stdlib.h>
#include <glibmm.h>
/****************************************************************
@ -63,7 +63,7 @@ realpath (const char *original_path, char resolved_path[_MAX_PATH+1])
// sure if Ardour needs such functionality anyway). Therefore we'll
// possibly need to add that functionality here at a later date.
} else {
char temp[(MAX_PATH+1)*6]; // Allow for maximum length of a path in wchar characters
char temp[(_MAX_PATH+1)*6]; // Allow for maximum length of a path in wchar characters
// POSIX 'realpath()' requires that the buffer size is at
// least PATH_MAX+1, so assume that the user knew this !!