mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user