Commit e538160a authored by herman ten brugge's avatar herman ten brugge
Browse files

Fix netbsd build

Netbsd uses __UINTPTR_TYPE__ to detect gcc in machine/int_types.h
parent e449db5f
......@@ -123,8 +123,10 @@
#endif
/* Some derived integer types needed to get stdint.h to compile correctly on some platforms */
#ifndef __NetBSD__
#define __UINTPTR_TYPE__ unsigned __PTRDIFF_TYPE__
#define __INTPTR_TYPE__ __PTRDIFF_TYPE__
#endif
#define __INT32_TYPE__ int
#if !defined _WIN32
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment