Prevent redef of ftnlen in blastest f2c_types.h.

Details:
- Guard typedef of ftnlen in f2c_types.h with a #ifndef HAVE_BLIS_H
  directive to prevent the redefinition of that type. Thanks to Jeff
  Diamond for reporting this compiler warning (and apologies for the
  delay in committing a fix).
This commit is contained in:
Field G. Van Zee
2019-01-23 12:16:27 -06:00
parent eec2e183a7
commit 63de2b0090

View File

@@ -90,11 +90,15 @@ typedef integer1 logical1;
#ifdef f2c_i2
/* for -i2 */
typedef short flag;
#ifndef HAVE_BLIS_H // don't re-typedef ftnlen
typedef short ftnlen;
#endif
typedef short ftnint;
#else
typedef integer flag;
#ifndef HAVE_BLIS_H // don't re-typedef ftnlen
typedef integer ftnlen;
#endif
typedef integer ftnint;
#endif