From cb71f71b53d698babf05717cb0f11e8e127e8476 Mon Sep 17 00:00:00 2001 From: warwick Date: Tue, 22 Apr 2003 06:57:27 +0000 Subject: [PATCH] The POSIX function yn() is sometimes a macro (eg. GCC 3.2, Linux), so undefine it (we don't need either here). --- win/Qt/qt_win.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.40.0