source: rtems/cpukit/include/rtems/concat.h @ 585cba9

4.104.114.84.9
Last change on this file since 585cba9 was 585cba9, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 27, 2005 at 7:23:53 AM

2005-10-27 Ralf Corsepius <ralf.corsepius@…>

  • include/rtems/concat.h: Add EXPAND0, CONCAT0.
  • Property mode set to 100644
File size: 470 bytes
Line 
1/*
2 *  Copyright (c) 2004,2005 Ralf Corsepius, Ulm, Germany.
3 *
4 *  The license and distribution terms for this file may be
5 *  found in found in the file LICENSE in this distribution or at
6 *  http://www.rtems.com/license/LICENSE.
7 *
8 *  $Id$
9 */
10
11#ifndef _RTEMS_CONCAT_H
12#define _RTEMS_CONCAT_H
13
14/* ANSI concatenation macros.  */
15
16#define CONCAT1(a, b) CONCAT2(a, b)
17#define CONCAT2(a, b) a ## b
18
19#define EXPAND0(x) x
20#define CONCAT0(a,b) EXPAND0(a)EXPAND0(b)
21
22#endif
Note: See TracBrowser for help on using the repository browser.