Internal tool change

Internal tool change
This commit is contained in:
Gu, Junjie
2025-04-22 03:57:54 +00:00
committed by igcbot
parent 1a13bf0e7c
commit ac30bd4e23

View File

@ -675,15 +675,14 @@ Inline Function:
Description:
Creates a directory to hold the given file
\*****************************************************************************/
inline int ParentDirectoryCreate(const char * filePath)
{
#if defined _WIN32 || _WIN64
#else
#if !defined(_WIN32) && !defined(_WIN64)
#include <limits.h>
#ifndef MAX_PATH
#define MAX_PATH PATH_MAX
#endif
#endif
inline int ParentDirectoryCreate(const char * filePath)
{
char pathBuf[MAX_PATH];
char parentBuf[MAX_PATH];