diff options
Diffstat (limited to 'pm_config.in.h')
-rw-r--r-- | pm_config.in.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pm_config.in.h b/pm_config.in.h index 3e2f781c..d8e578a3 100644 --- a/pm_config.in.h +++ b/pm_config.in.h @@ -290,6 +290,16 @@ #endif #endif +/* UNALIGNED_OK means it's OK to do unaligned memory access, e.g. + loading an 8-byte word from an address that is not a multiple of 8. + On some systems, such an access causes a trap and a signal. +*/ + +#if defined(__sparc__) +# define UNALIGNED_OK 0 +#else +# define UNALIGNED_OK 1 +#endif /* CONFIGURE: Some systems seem to need more than standard program linkage |