From 2daf5870fa4f00d942c3bd8e084f625bd1516e44 Mon Sep 17 00:00:00 2001 From: "git@daemon.de" Date: Tue, 14 Jan 2014 15:05:18 +0100 Subject: [PATCH] finally fixed issue#1, compilation under OpenBSD now works as it should, I had some invalid defines in platform.h --- include/pcp/platform.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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