Qt vs C() macro
Our C() macro conflicts with Qt6 usage, so #undef C has added. Move that from nearly every qt_*.cpp into qt_pre.h where other similar fixups are handled.
This commit is contained in:
@@ -6,9 +6,8 @@
|
||||
|
||||
extern "C" {
|
||||
#include "hack.h"
|
||||
#define CTRL(c) (0x1f & (c)) // substitute for C() from global.h, for ^V hack
|
||||
}
|
||||
#undef C
|
||||
#define CTRL(c) (0x1f & (c))
|
||||
|
||||
#include "qt_pre.h"
|
||||
#include <QtGui/QtGui>
|
||||
|
||||
Reference in New Issue
Block a user