ESMF-7.1.0r_fix-ESMC_Conf.patch 570 B

123456789101112
  1. Patched config file ESMC_Conf.h, replacing the original file.
  2. June 24th 2019 by PY Barriat (ELIC - UCL)
  3. --- esmf/build_config/Linux.gfortran.default/ESMC_Conf.h.orig 2018-03-07 00:33:07.000000000 +0100
  4. +++ esmf/build_config/Linux.gfortran.default/ESMC_Conf.h 2019-06-24 17:06:57.735994948 +0200
  5. @@ -31,6 +31,7 @@
  6. // Typedef to match the data type of the 'hidden' string length
  7. // argument that Fortran uses when passing CHARACTER strings.
  8. #if (__GNUC__ > 7)
  9. +#include <cstddef>
  10. typedef size_t ESMCI_FortranStrLenArg;
  11. #else
  12. typedef int ESMCI_FortranStrLenArg;