[Libreoffice-commits] .: solenv/bin
Robert Nagy
rnagy at kemper.freedesktop.org
Sun Dec 18 02:28:54 PST 2011
solenv/bin/concat-deps.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit b23f2d78c4d3ca9a79027c6251f3933a85f88053
Author: Robert Nagy <robert at openbsd.org>
Date: Sun Dec 18 11:18:28 2011 +0100
use the same memory alignment for *BSD as on Linux
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index fc23433..a0eda43 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -36,7 +36,9 @@
#define USE_MEMORY_ALIGNMENT 64 /* big value -> no alignment */
#endif /* Def __CYGWIN__ */
-#ifdef __linux
+#if defined(__linux) || defined(__OpenBSD__) || \
+ defined(__FreeBSD__) || defined(__NetBSD__) || \
+ defined(__DragonFly__)
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define CORE_BIG_ENDIAN 0
#define CORE_LITTLE_ENDIAN 1
@@ -48,7 +50,7 @@
#define USE_MEMORY_ALIGNMENT 4
#endif /* __BYTE_ORDER == __BIG_ENDIAN */
#endif /* !(__BYTE_ORDER == __LITTLE_ENDIAN) */
-#endif /* Def __linux */
+#endif /* Def __linux || Def *BSD */
#ifdef __sun
#ifdef __sparc
More information about the Libreoffice-commits
mailing list