Commit Diff


commit - ac372b601e0be8eb794f071912ddb1efc81ea8a8
commit + 6062e8ea890c053733ec0ad3387a40da18a45cda
blob - a61b2885188ca56c732c41d2f597ad00ab285533
blob + 52159fccda01040bb4cb1a1a48e126350a420f5c
--- tog/tog.c
+++ tog/tog.c
@@ -20,9 +20,8 @@
 
 #include <ctype.h>
 #include <errno.h>
-#define _XOPEN_SOURCE_EXTENDED
+#define _XOPEN_SOURCE_EXTENDED /* for ncurses wide-character functions */
 #include <curses.h>
-#undef _XOPEN_SOURCE_EXTENDED
 #include <panel.h>
 #include <locale.h>
 #include <signal.h>