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:
PatR
2021-12-30 11:29:03 -08:00
parent 221e4a760d
commit f7c71b9f83
22 changed files with 2 additions and 22 deletions

View File

@@ -7,7 +7,6 @@
extern "C" {
#include "hack.h"
}
#undef C
#include "qt_pre.h"
#include <QtGui/QtGui>