source: rtems/cpukit/include/rtems/concat.h @ c6ea319

4.104.114.84.95
Last change on this file since c6ea319 was 585cba9, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/27/05 at 07:23:53

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

  • include/rtems/concat.h: Add EXPAND0, CONCAT0.
  • Property mode set to 100644
File size: 470 bytes
RevLine 
[2f4c86f]1/*
[585cba9]2 *  Copyright (c) 2004,2005 Ralf Corsepius, Ulm, Germany.
3 *
[2f4c86f]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
[8ff51798]11#ifndef _RTEMS_CONCAT_H
12#define _RTEMS_CONCAT_H
[2f4c86f]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
[585cba9]20#define CONCAT0(a,b) EXPAND0(a)EXPAND0(b)
[2f4c86f]21
22#endif
Note: See TracBrowser for help on using the repository browser.