We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a13bf0 commit ac30bd4Copy full SHA for ac30bd4
3d/common/iStdLib/File.h
@@ -675,15 +675,14 @@ Inline Function:
675
Description:
676
Creates a directory to hold the given file
677
\*****************************************************************************/
678
-inline int ParentDirectoryCreate(const char * filePath)
679
-{
680
-#if defined _WIN32 || _WIN64
681
-#else
+#if !defined(_WIN32) && !defined(_WIN64)
682
#include <limits.h>
683
#ifndef MAX_PATH
684
#define MAX_PATH PATH_MAX
685
#endif
686
+inline int ParentDirectoryCreate(const char * filePath)
+{
687
char pathBuf[MAX_PATH];
688
char parentBuf[MAX_PATH];
689
0 commit comments