mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-04 02:18:50 +08:00
Fix netbsd build
Netbsd uses __UINTPTR_TYPE__ to detect gcc in machine/int_types.h
This commit is contained in:
parent
e449db5f1d
commit
e538160a32
@ -123,8 +123,10 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
/* Some derived integer types needed to get stdint.h to compile correctly on some platforms */
|
/* Some derived integer types needed to get stdint.h to compile correctly on some platforms */
|
||||||
|
#ifndef __NetBSD__
|
||||||
#define __UINTPTR_TYPE__ unsigned __PTRDIFF_TYPE__
|
#define __UINTPTR_TYPE__ unsigned __PTRDIFF_TYPE__
|
||||||
#define __INTPTR_TYPE__ __PTRDIFF_TYPE__
|
#define __INTPTR_TYPE__ __PTRDIFF_TYPE__
|
||||||
|
#endif
|
||||||
#define __INT32_TYPE__ int
|
#define __INT32_TYPE__ int
|
||||||
|
|
||||||
#if !defined _WIN32
|
#if !defined _WIN32
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user