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:
parent
a7961f04cf
commit
dc60753dde
@ -35,7 +35,7 @@ using std::vector;
|
|||||||
|
|
||||||
#ifdef COMPILER_MINGW
|
#ifdef COMPILER_MINGW
|
||||||
|
|
||||||
#include <WTypes.h>
|
#include <stdlib.h>
|
||||||
#include <glibmm.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
|
// sure if Ardour needs such functionality anyway). Therefore we'll
|
||||||
// possibly need to add that functionality here at a later date.
|
// possibly need to add that functionality here at a later date.
|
||||||
} else {
|
} 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
|
// POSIX 'realpath()' requires that the buffer size is at
|
||||||
// least PATH_MAX+1, so assume that the user knew this !!
|
// least PATH_MAX+1, so assume that the user knew this !!
|
||||||
|
Loading…
Reference in New Issue
Block a user