mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-19 06:42:27 -04:00
Ensure size_t type is decalared before use
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8667 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
03df5baaa0
commit
c684b99e95
@ -44,6 +44,11 @@ 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
|
||||||
|
#include <cstddef>
|
||||||
|
#else
|
||||||
|
#include <stddef.h>
|
||||||
|
#endif
|
||||||
typedef size_t fortran_charlen_t;
|
typedef size_t fortran_charlen_t;
|
||||||
#else
|
#else
|
||||||
typedef int fortran_charlen_t;
|
typedef int fortran_charlen_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user