From 952e2dde43e8d7f5b0b0abeb0680eeeca695436b Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 8 Nov 2011 11:38:44 +0000 Subject: [PATCH] 2011-11-08 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h ! fixed HB_STRICT_ALIGNMENT setting. Now it's enabled for all non x86[_64] CPUs. --- harbour/ChangeLog | 5 +++++ harbour/include/hbdefs.h | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 363172e596..fe9bcd74ea 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2011-11-08 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/include/hbdefs.h + ! fixed HB_STRICT_ALIGNMENT setting. + Now it's enabled for all non x86[_64] CPUs. + 2011-11-08 12:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.h * harbour/src/rtl/gtxwc/gtxwc.c diff --git a/harbour/include/hbdefs.h b/harbour/include/hbdefs.h index 3047f9306c..41d8c61d07 100644 --- a/harbour/include/hbdefs.h +++ b/harbour/include/hbdefs.h @@ -100,7 +100,6 @@ #if defined( HB_OS_WIN ) #if defined( HB_OS_WIN_64 ) #undef HB_LONG_LONG_OFF - #define HB_STRICT_ALIGNMENT #endif #endif @@ -738,12 +737,8 @@ typedef HB_U32 HB_FATTR; * different architectures - SPARC + LINUX, ALPHA + LINUX */ #if !defined( HB_STRICT_ALIGNMENT ) -# if defined( HB_CPU_SPARC ) || defined( HB_CPU_SPARC_64 ) || \ - defined( HB_CPU_ALPHA ) || \ - defined( HB_CPU_PARISC ) || \ - defined( HB_CPU_MIPS ) || \ - defined( HB_CPU_PPC ) || defined( HB_CPU_PPC_64 ) || \ - defined( HB_CPU_ARM ) +# if ! defined( HB_CPU_X86 ) && \ + ! defined( HB_CPU_X86_64 ) # define HB_STRICT_ALIGNMENT # endif #endif