]> granicus.if.org Git - nethack/commitdiff
The POSIX function yn() is sometimes a macro (eg. GCC 3.2, Linux),
authorwarwick <warwick>
Tue, 22 Apr 2003 06:57:27 +0000 (06:57 +0000)
committerwarwick <warwick>
Tue, 22 Apr 2003 06:57:27 +0000 (06:57 +0000)
so undefine it (we don't need either here).

win/Qt/qt_win.cpp

index 6f85bbb85ed3c577f671797a0bdd93148e76421b..a7c25d5b3c620da8e80b11a5bb098b80eb5dfbeb 100644 (file)
@@ -72,6 +72,9 @@ extern "C" {
 #undef yn
 
 }
+#ifdef yn
+#undef yn
+#endif
 
 #include "qt_win.h"
 #include <qregexp.h>