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:
@@ -1,4 +1,13 @@
|
||||
/* NetHack 3.7 qt_post.h $NHDT-Date: 1597276832 2020/08/13 00:00:32 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.0 $ */
|
||||
|
||||
/*
|
||||
* qt_post.h -- reverse part of qt_pre.h.
|
||||
*
|
||||
* #include after <Qt.../Qt...>.
|
||||
*/
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif /* __clang__ */
|
||||
|
||||
/*qt_post.h*/
|
||||
|
||||
Reference in New Issue
Block a user