Fix building on NetBSD

This commit is contained in:
Campbell Barton
2016-07-19 21:58:36 +10:00
parent eac9d2d430
commit 307250723b

View File

@@ -81,7 +81,9 @@
# endif
#endif
#ifdef UINTPTR_MAX
#if defined(__SIZEOF_POINTER__)
# define LG_SIZEOF_PTR __SIZEOF_POINTER__
#elif defined(UINTPTR_MAX)
# if (UINTPTR_MAX == 0xFFFFFFFF)
# define LG_SIZEOF_PTR 4
# elif (UINTPTR_MAX == 0xFFFFFFFFFFFFFFFF)