View Single Post
Old 18 June 2021, 08:41   #21
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,000
Quote:
Originally Posted by bebbo View Post
(my stdint.h includes sys/types.h).
Which makes sense for POSIX systems, when it already defined these types at system level.

Quote:
But stdint.h is also not referenced by the NDK...
At least NDK 3.2 does that for C99 compilers (which probably only includes gcc and vbcc). From
exec/types.h
:
Code:
#ifdef __STDC__
#if (__STDC_VERSION__ >= 199901) || defined(AMIGA_STDC_C99)

#include <stdint.h>

/* Type declarations for LONG, SHORT, BOOL, etc. will
 * build upon C99 integer types.
 */
#define __use_amiga_stdc_c99
#endif /* __STDC_VERSION__ || AMIGA_STDC_C99 */
#endif /* __STDC__ */
phx is offline  
 
Page generated in 0.04462 seconds with 11 queries