forked from GitHub/gf-core
fix for Windows
This commit is contained in:
@@ -261,7 +261,7 @@ PgfDB::PgfDB(const char* filepath, int flags, int mode) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hMutex = CreateMutex(NULL, FALSE, mutex_name);
|
hMutex = CreateMutex(NULL, FALSE, mutex_name);
|
||||||
if (hМutex == NULL) {
|
if (hMutex == NULL) {
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
::free(ms);
|
::free(ms);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user