ADTast-experimentalpthread-emulation
Last change
on this file since f403c46 was
211413b,
checked in by Peter A. Buhr <pabuhr@…>, 4 years ago
|
put back convert keyword exception to identifier in math.h
|
-
Property mode set to
100644
|
File size:
890 bytes
|
Line | |
---|
1 | // |
---|
2 | // Cforall Version 1.0.0 Copyright (C) 2016 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 | // math.h -- |
---|
8 | // |
---|
9 | // Author : Peter A. Buhr |
---|
10 | // Created On : Mon Jul 4 23:25:26 2016 |
---|
11 | // Last Modified By : Peter A. Buhr |
---|
12 | // Last Modified On : Fri Feb 7 19:05:27 2020 |
---|
13 | // Update Count : 15 |
---|
14 | // |
---|
15 | |
---|
16 | extern "C" { |
---|
17 | #if ! defined( exception ) // nesting ? |
---|
18 | #define exception ``exception // make keyword an identifier |
---|
19 | #define __CFA_MATH_H__ |
---|
20 | #endif |
---|
21 | |
---|
22 | #include_next <math.h> // has internal check for multiple expansion |
---|
23 | |
---|
24 | #if defined( exception ) && defined( __CFA_MATH_H__ ) // reset only if set |
---|
25 | #undef exception |
---|
26 | #undef __CFA_MATH_H__ |
---|
27 | #endif |
---|
28 | } // extern "C" |
---|
29 | |
---|
30 | // Local Variables: // |
---|
31 | // tab-width: 4 // |
---|
32 | // mode: c++ // |
---|
33 | // compile-command: "make install" // |
---|
34 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.