symcat.h (STRINGX): Change "?" to "s" to stringify argument s.

* symcat.h (STRINGX) [!__STDC__ || ALMOST_STDC]: Change "?" to "s"
	to stringify argument s.

From-SVN: r31159
This commit is contained in:
Hans-Peter Nilsson 2000-01-01 17:26:13 +00:00 committed by Hans-Peter Nilsson
parent 0c12c02a4f
commit 2f52c7e641
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat Jan 1 19:06:52 2000 Hans-Peter Nilsson <hp@bitrange.com>
* symcat.h (STRINGX) [!__STDC__ || ALMOST_STDC]: Change "?" to "s"
to stringify argument s.
1999-12-05 Mark Mitchell <mark@codesourcery.com>
* splay-tree.h (struct splay_tree_node): Rename to ...

View File

@ -1,6 +1,6 @@
/* Symbol concatenation utilities.
Copyright (C) 1998, Free Software Foundation, Inc.
Copyright (C) 1998, 2000 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -28,7 +28,7 @@
#define CONCAT2(a,b) a/**/b
#define CONCAT3(a,b,c) a/**/b/**/c
#define CONCAT4(a,b,c,d) a/**/b/**/c/**/d
#define STRINGX(s) "?"
#define STRINGX(s) "s"
#endif
#define XCONCAT2(a,b) CONCAT2(a,b)