Skip to content

Commit ac30bd4

Browse files
jgu222igcbot
authored andcommitted
Internal tool change
Internal tool change
1 parent 1a13bf0 commit ac30bd4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

3d/common/iStdLib/File.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -675,15 +675,14 @@ Inline Function:
675675
Description:
676676
Creates a directory to hold the given file
677677
\*****************************************************************************/
678-
inline int ParentDirectoryCreate(const char * filePath)
679-
{
680-
#if defined _WIN32 || _WIN64
681-
#else
678+
#if !defined(_WIN32) && !defined(_WIN64)
682679
#include <limits.h>
683680
#ifndef MAX_PATH
684681
#define MAX_PATH PATH_MAX
685682
#endif
686683
#endif
684+
inline int ParentDirectoryCreate(const char * filePath)
685+
{
687686
char pathBuf[MAX_PATH];
688687
char parentBuf[MAX_PATH];
689688

0 commit comments

Comments
 (0)