26 lines
783 B
Diff
26 lines
783 B
Diff
From 58a7dd4eb96113cd59899e8965aa07b61737d51e Mon Sep 17 00:00:00 2001
|
|
From: Ray Donnelly <mingw.android@gmail.com>
|
|
Date: Sat, 27 Sep 2014 15:02:24 +0100
|
|
Subject: [PATCH 07/14] Define QT_WA
|
|
|
|
---
|
|
src/QtSolutions/qtlockedfile_win.cpp | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/QtSolutions/qtlockedfile_win.cpp b/src/QtSolutions/qtlockedfile_win.cpp
|
|
index 4cd2003..c28aae8 100755
|
|
--- a/src/QtSolutions/qtlockedfile_win.cpp
|
|
+++ b/src/QtSolutions/qtlockedfile_win.cpp
|
|
@@ -45,6 +45,8 @@
|
|
// Maximum number of concurrent read locks. Must not be greater than MAXIMUM_WAIT_OBJECTS
|
|
#define MAX_READERS MAXIMUM_WAIT_OBJECTS
|
|
|
|
+#define QT_WA(unicode, ansi) unicode
|
|
+
|
|
Qt::HANDLE QtLockedFile::getMutexHandle(int idx, bool doCreate)
|
|
{
|
|
if (mutexname.isEmpty()) {
|
|
--
|
|
2.8.2
|
|
|