1
0
forked from GitHub/gf-core

correct mode for pgf_boot_ngf on WIN32

This commit is contained in:
krangelov
2021-11-16 08:33:50 +01:00
parent e0b93a37e2
commit 58b805606b

View File

@@ -1,6 +1,9 @@
#include <fcntl.h>
#include <math.h>
#include <errno.h>
#ifdef WIN32
#include <io.h>
#endif
#include "data.h"
#include "reader.h"
@@ -85,7 +88,7 @@ PgfDB *pgf_boot_ngf(const char* pgf_path, const char* ngf_path,
#ifndef _WIN32
S_IRUSR | S_IWUSR
#else
0
_S_IREAD | _S_IWRITE
#endif
);