Skip to content

Commit fbf5dd8

Browse files
committed
fix(language-support): copypasta
1 parent 8f7087f commit fbf5dd8

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

include/language-support.F90

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@
55
! Define whether the compiler supports associating a procedure pointer dummy argument with an
66
! actual argument that is a valid target for the pointer dummy in a procedure assignment, a
77
! 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
1313
#endif
1414

1515
#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
1717
# if defined(_CRAYFTN) || defined(__INTEL_COMPILER) || defined(NAGFOR) || defined(__GFORTRAN__)
18-
# define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 1
18+
# define HAVE_CRITICAL 1
1919
# else
20-
# define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 0
20+
# define HAVE_CRITICAL 0
2121
# endif
2222
#endif
2323

2424
#ifndef HAVE_MULTI_IMAGE_SUPPORT
2525
! Define whether the compiler supports the statements and intrinsic procedures that support
2626
! 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
3232
#endif

0 commit comments

Comments
 (0)