From 625f70a8d7aa42e5e44341953405e58572da1afe Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Thu, 4 Sep 2025 13:18:23 +0100 Subject: [PATCH] Hopefully final fix --- stdint.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/stdint.h b/stdint.h index cd9869e..d389333 100644 --- a/stdint.h +++ b/stdint.h @@ -4,24 +4,33 @@ #ifndef _STDINT_H_INCLUDED #ifndef _STDINT_H #ifndef _STDINT_H_ -#ifndef _UINT64_T #define _STDINT_H_INCLUDED #define _STDINT_H #define _STDINT_H_ -#define _UINT64_T #include +#ifndef _INT64_T +#define _INT64_T #if defined (NO_LONG_LONG) || ULONG_MAX > 4294967295UL typedef signed long int64_t; -typedef unsigned long uint64_t; #else typedef signed long long int64_t; -typedef unsigned long long uint64_t; #endif +#endif /* _INT64_T */ +#ifndef _UINT64_T +#define _UINT64_T +#if defined (NO_LONG_LONG) || ULONG_MAX > 4294967295UL +typedef unsigned long uint64_t; +#else +typedef unsigned long long uint64_t; +#endif #endif /* _UINT64_T */ + + + #endif /* _STDINT_H_ */ #endif /* _STDINT_H */ #endif /* _STDINT_H_INCLUDED */ -- 2.34.1