History

*BSD: protect against incompatible redefinitions of int64_t/uint64_t.

Christian Jullien committed 5 years ago

Commit 33257c61 parent 8db839c1 file · +6 −1Browse files

Unified · Split

include/stddef.h+6−1
@@ -17,12 +17,17 @@ typedef union { long long __ll; long double __ld; } max_align_t; · 16 unmodified lines
17typedef signed char int8_t;17typedef signed char int8_t;
18typedef signed short int int16_t;18typedef signed short int int16_t;
19typedef signed int int32_t;19typedef signed int int32_t;
20typedef signed __INT64_TYPE__ int64_t;
21typedef unsigned char uint8_t;20typedef unsigned char uint8_t;
22typedef unsigned short int uint16_t;21typedef unsigned short int uint16_t;
23typedef unsigned int uint32_t;22typedef unsigned int uint32_t;
23#if defined(__LP64__) \
24 && !defined(__FreeBSD__) \
25 && !(defined(__NetBSD__) && defined(__aarch64__))
26typedef signed __INT64_TYPE__ int64_t;
24typedef unsigned __INT64_TYPE__ uint64_t;27typedef unsigned __INT64_TYPE__ uint64_t;
25#endif28#endif
29#endif
30#endif
26 31
27#ifndef NULL32#ifndef NULL
28#define NULL ((void*)0)33#define NULL ((void*)0)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t