finally fixed issue#1, compilation under OpenBSD now works as it should, I had some invalid defines in platform.h

This commit is contained in:
git@daemon.de
2014-01-14 15:05:18 +01:00
parent 131ad9f959
commit 2daf5870fa

View File

@@ -31,12 +31,10 @@
# ifdef HAVE_SYS_ENDIAN_H # ifdef HAVE_SYS_ENDIAN_H
# include <sys/types.h> # include <sys/types.h>
# include <sys/endian.h> # include <sys/endian.h>
# ifdef HAVE_BETOH32 # ifndef HAVE_BE32TOH
# // openbsd, use aliases # // openbsd, use aliases
# define be32toh betoh32 # define be32toh betoh32
# define htobe32 hto32be
# define be64toh betoh64 # define be64toh betoh64
# define htobe64 hto64be
# endif # endif
# else // no sys/endian.h # else // no sys/endian.h
# ifdef __CPU_IS_BIG_ENDIAN # ifdef __CPU_IS_BIG_ENDIAN