diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-25 14:55:20 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-25 14:55:20 +0000 |
commit | b4d1f345bdbc1cb27fb5f466a6b87a06ae539ae1 (patch) | |
tree | 25405bb8b1b0ed6e69b3b649b47eb298c5cca7f0 /rc.c | |
parent | [w3m-dev 02902] mouse inactive after ALARM commands. (diff) | |
download | w3m-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.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |