utils: mdldec: fix build with implicit function declaration on MSVC

This commit is contained in:
Alibek Omarov
2025-10-11 21:23:32 +05:00
parent 37e9ac453b
commit af585fec08

View File

@@ -18,16 +18,17 @@ GNU General Public License for more details.
#include <string.h>
#include <sys/stat.h>
#include <errno.h>
#if XASH_WIN32
#include <direct.h>
#else
#define _mkdir( x ) mkdir(( x ), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH )
#endif
#include "xash3d_types.h"
#include "port.h"
#include "crtlib.h"
#include "settings.h"
#include "utils.h"
#if !XASH_WIN32
#define _mkdir( x ) mkdir(( x ), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH )
#endif
/*
============
MakeDirectory