34#ifndef __XFS_PLATFORM_DEFS_H__
35#define __XFS_PLATFORM_DEFS_H__
42#elif HAVE_SYS_ENDIAN_H
43# include <sys/endian.h>
53#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1)
54# define constpp const char * const *
56# define constpp char * const *
67#define HAVE_32BIT_LONG 1
68#define HAVE_32BIT_PTR 1
76# elif defined HAVE_64BIT_PTR
77# ifdef HAVE_64BIT_LONG
85# error Unknown pointer size
91#ifndef HAVE___PSUNSIGNED_T
94# elif defined HAVE_64BIT_PTR
95# ifdef HAVE_64BIT_LONG
103# error Unknown pointer size
108# define ASSERT assert
110# define ASSERT(EX) ((void) 0)