[Libreoffice-commits] .: Branch 'feature/gbuildfixes' - solenv/bin

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Mon Dec 5 09:42:32 PST 2011


 solenv/bin/concat-deps.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit 1a169216bb5b35624f08b6b3fc5ef51064402929
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Mon Dec 5 11:42:21 2011 -0600

    add def to allow compile of concat-deps.c on Mac

diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 508a901..d699e82 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -11,6 +11,18 @@
  * ===============================================
  */
 
+#ifdef __APPLE__
+#ifdef __x86_64__
+#define CORE_BIG_ENDIAN 0
+#define CORE_LITTLE_ENDIAN 1
+#define USE_MEMORY_ALIGNMENT 64 /* big value -> no alignment */
+#else
+#define CORE_BIG_ENDIAN 1
+#define CORE_LITTLE_ENDIAN 0
+#define USE_MEMORY_ALIGNMENT 4
+#endif
+
+#endif
 #ifdef _AIX
 #define CORE_BIG_ENDIAN 1
 #define CORE_LITTLE_ENDIAN 0


More information about the Libreoffice-commits mailing list