mirror of
https://github.com/amd/blis.git
synced 2026-04-17 06:20:21 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user