about summary refs log tree commit diff stats
path: root/src/LYUtils.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2012-07-06 21:20:56 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2012-07-06 21:20:56 -0400
commit299c41fc25868e0eb82e46ca8e4188c70db57363 (patch)
treeb00cf2e5818dde26d26a762984d2cf6627759a0b /src/LYUtils.c
parent82473218a3b47d9f0f1b91cb5dc1d9f807103b9c (diff)
downloadlynx-snapshots-299c41fc25868e0eb82e46ca8e4188c70db57363.tar.gz
snapshot of project "lynx", label v2-8-8dev_12d
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r--src/LYUtils.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c
index 2bc46f58..3da61c4f 100644
--- a/src/LYUtils.c
+++ b/src/LYUtils.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYUtils.c,v 1.223 2012/07/05 08:39:49 tom Exp $
+ * $LynxId: LYUtils.c,v 1.224 2012/07/06 00:29:26 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTCP.h>
@@ -21,6 +21,8 @@ extern int kbhit(void);		/* FIXME: use conio.h */
 #elif defined(HAVE_GETTEXT)
 #undef gettext
 #define gettext conio_gettext
+#else
+#undef gettext
 #endif
 
 #include <conio.h>
@@ -32,6 +34,9 @@ extern int kbhit(void);		/* FIXME: use conio.h */
 #ifdef _INTL_REDIRECT_MACROS
 #define gettext libintl_gettext	/* restore definition from libintl.h */
 #endif
+#else
+#undef gettext
+#define gettext(s) s
 #endif
 
 #if !defined(kbhit) && defined(_WCONIO_DEFINED)