source: src/libcfa/expat.h@ 70c2df8

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since 70c2df8 was d3b7937, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

building runtime library (first attempt)

  • Property mode set to 100644
File size: 1.2 KB
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// expat.h --
8//
9// Author : Peter A. Buhr
10// Created On : Sun Jun 28 11:10:15 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Mon Dec 21 08:57:26 2015
13// Update Count : 4
14
15// This include file uses the CFA keyword "type" as a field name of a structure.
16
17#if ! defined( type ) // nesting ?
18#define type `type`
19#define __CFA_EXPAT1_H__
20#endif // ! type
21
22#if ! defined( context ) // nesting ?
23#define context `context`
24#define __CFA_EXPAT2_H__
25#endif // ! context
26
27#include_next <expat.h> // has internal check for multiple expansion
28
29#if defined( type ) && defined( __CFA_EXPAT1_H__ ) // reset only if set
30#undef type
31#undef __CFA_EXPAT1_H__
32#endif // type && __CFA_EXPAT1_H__
33
34#if defined( context ) && defined( __CFA_EXPAT2_H__ ) // reset only if set
35#undef context
36#undef __CFA_EXPAT2_H__
37#endif // context && __CFA_EXPAT2_H__
38
39// Local Variables: //
40// tab-width: 4 //
41// mode: c++ //
42// compile-command: "make install" //
43// End: //
Note: See TracBrowser for help on using the repository browser.