ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 1c38f5b was
7444113,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
Fixed build for gcc-4.9
|
-
Property mode set to
100644
|
File size:
852 bytes
|
Rev | Line | |
---|
[9d944b2] | 1 | // -*- Mode: CFA -*- |
---|
| 2 | // |
---|
| 3 | // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo |
---|
| 4 | // |
---|
| 5 | // The contents of this file are covered under the licence agreement in the |
---|
| 6 | // file "LICENCE" distributed with Cforall. |
---|
| 7 | // |
---|
| 8 | // startup.h -- |
---|
| 9 | // |
---|
| 10 | // Author : Thierry Delisle |
---|
| 11 | // Created On : Wed Mar 29 15:56:41 2017 |
---|
| 12 | // Last Modified By : |
---|
| 13 | // Last Modified On : |
---|
| 14 | // Update Count : 0 |
---|
| 15 | // |
---|
| 16 | |
---|
| 17 | #ifndef STARTUP_H |
---|
| 18 | #define STARTUP_H |
---|
| 19 | |
---|
[7444113] | 20 | #if GCC_VERSION > 50000 |
---|
[9d944b2] | 21 | extern "C" { |
---|
| 22 | enum { |
---|
| 23 | STARTUP_PRIORITY_CORE = 101, |
---|
| 24 | STARTUP_PRIORITY_KERNEL = 102, |
---|
| 25 | STARTUP_PRIORITY_MEMORY = 103, |
---|
| 26 | STARTUP_PRIORITY_IOSTREAM = 104, |
---|
| 27 | }; |
---|
| 28 | } |
---|
[7444113] | 29 | #else |
---|
| 30 | #define STARTUP_PRIORITY_CORE 101 |
---|
| 31 | #define STARTUP_PRIORITY_KERNEL 102 |
---|
| 32 | #define STARTUP_PRIORITY_MEMORY 103 |
---|
| 33 | #define STARTUP_PRIORITY_IOSTREAM 104 |
---|
| 34 | #endif |
---|
[9d944b2] | 35 | |
---|
| 36 | #endif //STARTUP_H |
---|
Note: See
TracBrowser
for help on using the repository browser.