mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
utils: mdldec: fix build with implicit function declaration on MSVC
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user