From: Robert Pengelly Date: Thu, 4 Sep 2025 12:18:23 +0000 (+0100) Subject: Hopefully final fix X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=625f70a8d7aa42e5e44341953405e58572da1afe;p=sasm.git Hopefully final fix --- 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 */