English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 18 June 2021, 08:41   #21
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
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  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
AmigaOS 3.2 NDK released bubbob42 News 15 21 October 2023 18:56
cybppc.device & AmigaOS 4.1 FE , problem drluking support.Hardware 23 19 December 2021 20:57
AmigaOS & lha Ulysses13 New to Emulation or Amiga scene 4 04 June 2021 20:58
VBCC/NDK/Make AmiTCP dependency? Sim085 support.Apps 2 22 February 2020 22:32
VBCC & guru meditation majikeyric Coders. C/C++ 11 10 October 2018 08:37

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:09.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.14589 seconds with 16 queries