|
5 | 5 | ! Define whether the compiler supports associating a procedure pointer dummy argument with an |
6 | 6 | ! actual argument that is a valid target for the pointer dummy in a procedure assignment, a |
7 | 7 | ! feature introduced in Fortran 2008 and described in Fortran 2023 clause 15.5.2.10 paragraph 5. |
8 | | -#if defined(_CRAYFTN) || defined(__INTEL_COMPILER) || defined(NAGFOR) || defined(__flang__) |
9 | | -#define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 1 |
10 | | -#else |
11 | | -#define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 0 |
12 | | -#endif |
| 8 | +# if defined(_CRAYFTN) || defined(__INTEL_COMPILER) || defined(NAGFOR) || defined(__flang__) |
| 9 | +# define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 1 |
| 10 | +# else |
| 11 | +# define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 0 |
| 12 | +# endif |
13 | 13 | #endif |
14 | 14 |
|
15 | 15 | #ifndef HAVE_CRITICAL |
16 | | - ! Define whether the compiler supports the `critical` and `end critical` statements |
| 16 | + ! Define whether the compiler supports the `critical` and `end critical` statements |
17 | 17 | # if defined(_CRAYFTN) || defined(__INTEL_COMPILER) || defined(NAGFOR) || defined(__GFORTRAN__) |
18 | | -# define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 1 |
| 18 | +# define HAVE_CRITICAL 1 |
19 | 19 | # else |
20 | | -# define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 0 |
| 20 | +# define HAVE_CRITICAL 0 |
21 | 21 | # endif |
22 | 22 | #endif |
23 | 23 |
|
24 | 24 | #ifndef HAVE_MULTI_IMAGE_SUPPORT |
25 | 25 | ! Define whether the compiler supports the statements and intrinsic procedures that support |
26 | 26 | ! multi-image execution, e.g., this_image(), sync all, etc. |
27 | | -#if defined(_CRAYFTN) || defined(__INTEL_COMPILER) || defined(NAGFOR) || defined(__GFORTRAN__) |
28 | | -#define HAVE_MULTI_IMAGE_SUPPORT 1 |
29 | | -#else |
30 | | -#define HAVE_MULTI_IMAGE_SUPPORT 0 |
31 | | -#endif |
| 27 | +# if defined(_CRAYFTN) || defined(__INTEL_COMPILER) || defined(NAGFOR) || defined(__GFORTRAN__) |
| 28 | +# define HAVE_MULTI_IMAGE_SUPPORT 1 |
| 29 | +# else |
| 30 | +# define HAVE_MULTI_IMAGE_SUPPORT 0 |
| 31 | +# endif |
32 | 32 | #endif |
0 commit comments