mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-03 06:32:26 -04:00
fortran_charlen_t should be size_t, not int, with Clang on MacOS.
This commit is contained in:
parent
5c2d01d8b4
commit
e027c9ea3c
@ -65,9 +65,14 @@ extern "C" {
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#endif
|
#endif
|
||||||
typedef size_t fortran_charlen_t;
|
typedef size_t fortran_charlen_t;
|
||||||
|
#else
|
||||||
|
#if defined(__clang__)
|
||||||
|
#include <stddef.h>
|
||||||
|
typedef size_t fortran_charlen_t;
|
||||||
#else
|
#else
|
||||||
typedef int fortran_charlen_t;
|
typedef int fortran_charlen_t;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user