aboutsummaryrefslogtreecommitdiffstats
path: root/rc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-25 14:55:20 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-25 14:55:20 +0000
commitb4d1f345bdbc1cb27fb5f466a6b87a06ae539ae1 (patch)
tree25405bb8b1b0ed6e69b3b649b47eb298c5cca7f0 /rc.c
parent[w3m-dev 02902] mouse inactive after ALARM commands. (diff)
downloadw3m-b4d1f345bdbc1cb27fb5f466a6b87a06ae539ae1.tar.gz
w3m-b4d1f345bdbc1cb27fb5f466a6b87a06ae539ae1.zip
[w3m-dev 02904]
* rc.c (N_STR): use cpp stringification From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'rc.c')
-rw-r--r--rc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/rc.c b/rc.c
index 7c9db51..29a0051 100644
--- a/rc.c
+++ b/rc.c
@@ -1,4 +1,4 @@
-/* $Id: rc.c,v 1.35 2002/01/24 17:29:45 ukai Exp $ */
+/* $Id: rc.c,v 1.36 2002/01/25 14:55:20 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -364,12 +364,18 @@ static struct sel_c colorstr[] = {
};
#endif /* USE_COLOR */
+#if 1 /* ANSI-C ? */
+#define N_STR(x) #x
+#define N_S(x) (x), N_STR(x)
+#else /* for traditional cpp? */
static char n_s[][2] = {
{'0', 0},
{'1', 0},
{'2', 0},
};
#define N_S(x) (x), n_s[(x)]
+#endif
+
static struct sel_c defaulturls[] = {
#if LANG == JA