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.
This commit is contained in:
Przemyslaw Czerpak
2011-11-08 11:38:44 +00:00
parent c779d18252
commit 952e2dde43
2 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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