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
|
Rev | Line | |
---|
[a922e34] | 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 | // |
---|
[ed0e67a] | 7 | // math.h -- |
---|
[a922e34] | 8 | // |
---|
| 9 | // Author : Peter A. Buhr |
---|
| 10 | // Created On : Mon Jul 4 23:25:26 2016 |
---|
| 11 | // Last Modified By : Peter A. Buhr |
---|
[211413b] | 12 | // Last Modified On : Fri Feb 7 19:05:27 2020 |
---|
| 13 | // Update Count : 15 |
---|
[a922e34] | 14 | // |
---|
| 15 | |
---|
| 16 | extern "C" { |
---|
[211413b] | 17 | #if ! defined( exception ) // nesting ? |
---|
| 18 | #define exception ``exception // make keyword an identifier |
---|
| 19 | #define __CFA_MATH_H__ |
---|
| 20 | #endif |
---|
[0304215a] | 21 | |
---|
[ed0e67a] | 22 | #include_next <math.h> // has internal check for multiple expansion |
---|
[0304215a] | 23 | |
---|
[211413b] | 24 | #if defined( exception ) && defined( __CFA_MATH_H__ ) // reset only if set |
---|
| 25 | #undef exception |
---|
| 26 | #undef __CFA_MATH_H__ |
---|
| 27 | #endif |
---|
[a922e34] | 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.