mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Re-added the long word alignment check for MC68020 I didn't commit
at home. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14889 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: string_headers.h,v 1.3 2005-01-02 09:07:19 obarthel Exp $
|
||||
* $Id: string_headers.h,v 1.4 2005-03-15 11:18:32 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -67,9 +67,9 @@
|
||||
/* Address is aligned to a long word boundary. For an 68030 and beyond the
|
||||
alignment does not matter. */
|
||||
#if defined(M68020)
|
||||
#define IS_LONG_ALIGNED(a) ((((unsigned long)(a)) & 3) == 0)
|
||||
#else
|
||||
#define IS_LONG_ALIGNED(a) (1)
|
||||
#else
|
||||
#define IS_LONG_ALIGNED(a) ((((unsigned long)(a)) & 3) == 0)
|
||||
#endif /* M68020 */
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user