Skip to content

Commit 27d27a8

Browse files
committed
Update preprocessor macro.
1 parent 493df2b commit 27d27a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modbus.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! modbus.f90
1+
! modbus.F90
22
!
33
! Author: Philipp Engel
44
! Licence: ISC
@@ -8,7 +8,7 @@ module modbus
88
implicit none (type, external)
99
private
1010

11-
#if defined (__flang__)
11+
#if defined (__flang__) || (defined (__GFORTRAN__) && __GNUC__ > 15) || (defined (__GFORTRAN__) && __GNUC__ == 15 && __GNUC_MINOR__ >= 2)
1212

1313
public :: c_uint8_t
1414
public :: c_uint16_t

0 commit comments

Comments
 (0)