English Amiga Board


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

 
 
Thread Tools
Old 18 June 2021, 09:41   #21
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,030
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
cybppc.device & AmigaOS 4.1 FE , problem drluking support.Hardware 21 Today 02:12
AmigaOS 3.2 NDK released bubbob42 News 1 08 June 2021 17:20
AmigaOS & lha Ulysses13 New to Emulation or Amiga scene 4 04 June 2021 21:58
VBCC/NDK/Make AmiTCP dependency? Sim085 support.Apps 2 22 February 2020 23:32
VBCC & guru meditation majikeyric Coders. C/C++ 11 10 October 2018 09: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 17:31.


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