From: warwick Date: Tue, 22 Apr 2003 06:57:27 +0000 (+0000) Subject: The POSIX function yn() is sometimes a macro (eg. GCC 3.2, Linux), X-Git-Tag: MOVE2GIT~2024 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb71f71b53d698babf05717cb0f11e8e127e8476;p=nethack The POSIX function yn() is sometimes a macro (eg. GCC 3.2, Linux), so undefine it (we don't need either here). --- diff --git a/win/Qt/qt_win.cpp b/win/Qt/qt_win.cpp index 6f85bbb85..a7c25d5b3 100644 --- a/win/Qt/qt_win.cpp +++ b/win/Qt/qt_win.cpp @@ -72,6 +72,9 @@ extern "C" { #undef yn } +#ifdef yn +#undef yn +#endif #include "qt_win.h" #include