diff --git a/include/pcp/platform.h b/include/pcp/platform.h index 0a5f8a6..913c531 100644 --- a/include/pcp/platform.h +++ b/include/pcp/platform.h @@ -31,12 +31,10 @@ # ifdef HAVE_SYS_ENDIAN_H # include # include -# ifdef HAVE_BETOH32 +# ifndef HAVE_BE32TOH # // openbsd, use aliases # define be32toh betoh32 -# define htobe32 hto32be # define be64toh betoh64 -# define htobe64 hto64be # endif # else // no sys/endian.h # ifdef __CPU_IS_BIG_ENDIAN