pkgsrc-ng/lang/basic256/patches/patch-Interpreter.cpp
2013-09-26 17:14:40 +02:00

16 lines
367 B
C++

$NetBSD: patch-Interpreter.cpp,v 1.1 2013/05/04 12:48:33 joerg Exp $
Avoid overlap with std::mutex.
--- Interpreter.cpp.orig 2013-05-04 00:26:28.000000000 +0000
+++ Interpreter.cpp
@@ -69,6 +69,8 @@ using namespace std;
QMutex keymutex;
int currentKey;
+#define mutex my_mutex
+
extern QMutex mutex;
extern QMutex debugmutex;
extern QWaitCondition waitCond;