Skip to content

Commit aa07ead

Browse files
committed
Portable declaration of stdin/out/err corrected
1 parent 8f6f4bd commit aa07ead

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

f90getopt.F90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ module f90getopt
44

55
! Portable declaration of stderr, stdin, stdout
66
#ifdef f2003
7-
use, intrinsic :: iso_fortran_env, only : input_unit=>stdin, &
8-
output_unit=>stdout, &
9-
error_unit=>stderr
7+
use, intrinsic :: iso_fortran_env, only : stdin=>input_unit, &
8+
stdout=>output_unit, &
9+
stderr=>error_unit
1010
#else
1111
#define stdin 5
1212
#define stdout 6

0 commit comments

Comments
 (0)