History

Fix netbsd build

Netbsd uses __UINTPTR_TYPE__ to detect gcc in machine/int_types.h

herman ten brugge committed 5 years ago

Commit e5381601 parent e449db51 file · +2 −0Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/tccdefs.h+2−0
@@ -123,8 +123,10 @@ · 122 unmodified lines
123 123
124#endif124#endif
125 /* Some derived integer types needed to get stdint.h to compile correctly on some platforms */125 /* Some derived integer types needed to get stdint.h to compile correctly on some platforms */
126#ifndef __NetBSD__
126 #define __UINTPTR_TYPE__ unsigned __PTRDIFF_TYPE__127 #define __UINTPTR_TYPE__ unsigned __PTRDIFF_TYPE__
127 #define __INTPTR_TYPE__ __PTRDIFF_TYPE__128 #define __INTPTR_TYPE__ __PTRDIFF_TYPE__
129#endif
128 #define __INT32_TYPE__ int130 #define __INT32_TYPE__ int
129 131
130#if !defined _WIN32132#if !defined _WIN32

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