source: rtems/cpukit/include/rtems/concat.h @ 7e86e00

5
Last change on this file since 7e86e00 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

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