szaghi / FLAP

Fortran command Line Arguments Parser for poor people
151 stars 34 forks source link

use __GFORTRAN__ rather than -DGNU #35

Closed zbeekman closed 9 years ago

zbeekman commented 9 years ago

Let gfortran tell the code via __GFORTRAN__ that it is being compiled by gfortran, rather than adding some extra define to the command line. See http://fortranwiki.org/fortran/show/Predefined+preprocessor+macros

Or to rephrase that, we don’t need to tell the code when we’re using gfortran, the code already knows.