Qt header usage

Move the nine #undef's common to all qt_*.cpp sources into qt_pre.h.

Make "hack.h" usage consistent; always enclose withing 'extern "C {'
and '}' even though only some of the sources care.
This commit is contained in:
PatR
2020-08-12 17:01:03 -07:00
parent 0f65db801c
commit 0645f5483d
23 changed files with 57 additions and 190 deletions

View File

@@ -7,15 +7,6 @@
extern "C" {
#include "hack.h"
}
#undef Invisible
#undef Warning
#undef index
#undef msleep
#undef rindex
#undef wizard
#undef yn
#undef min
#undef max
#include "qt_pre.h"
#include <QtGui/QtGui>