1 /* Symbol concatenation utilities.
3 Copyright (C) 1998, Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
22 #if defined (__STDC__) || defined (ALMOST_STDC)
23 #define CONCAT2(a,b) a##b
24 #define CONCAT3(a,b,c) a##b##c
25 #define CONCAT4(a,b,c,d) a##b##c##d
28 #define CONCAT2(a,b) a/**/b
29 #define CONCAT3(a,b,c) a/**/b/**/c
30 #define CONCAT4(a,b,c,d) a/**/b/**/c/**/d
31 #define STRINGX(s) "?"
34 #define XCONCAT2(a,b) CONCAT2(a,b)
35 #define XCONCAT3(a,b,c) CONCAT3(a,b,c)
36 #define XCONCAT4(a,b,c,d) CONCAT4(a,b,c,d)
38 #define XSTRING(s) STRINGX(s)
This page took 0.029403 seconds and 4 git commands to generate.