mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22: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
@ -59,14 +59,19 @@ extern "C" {
|
|||||||
|
|
||||||
/* typedef for consistent gfortran ABI for charlen type hidden arguments */
|
/* typedef for consistent gfortran ABI for charlen type hidden arguments */
|
||||||
#if __GNUC__ > 7
|
#if __GNUC__ > 7
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
#else
|
||||||
|
#include <stddef.h>
|
||||||
|
#endif
|
||||||
|
typedef size_t fortran_charlen_t;
|
||||||
#else
|
#else
|
||||||
#include <stddef.h>
|
#if defined(__clang__)
|
||||||
#endif
|
#include <stddef.h>
|
||||||
typedef size_t fortran_charlen_t;
|
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