Skip to content

Commit

Permalink
Add __GFORTRAN__
Browse files Browse the repository at this point in the history
  • Loading branch information
Manangka committed Jan 24, 2025
1 parent 4b6f0dd commit eea159a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities/Memory/Memory.F90
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ subroutine mt_deallocate(this)

call c_f_pointer(cptr, astr1d, [this%isize * this%element_size])

#if __GNUC__ < 13
#if __GFORTRAN__ &&__GNUC__ < 13
if (this%master) deallocate (astr1d)
#else
if (this%master) deallocate (this%astr1d)
Expand Down

0 comments on commit eea159a

Please sign in to comment.