Include pack struct macros for RX architecture.

This commit is contained in:
Richard Barry 2010-09-09 19:47:24 +00:00
parent e4c8a7957f
commit 904e22b667
2 changed files with 31 additions and 6 deletions

View file

@ -1,7 +1,19 @@
#ifdef __GNUC__ #ifdef __GNUC__
__attribute__( (packed) ); __attribute__( (packed) );
#endif #endif
#ifdef _SH
#ifdef __RENESAS__ #ifdef __RENESAS__
; ;
#pragma unpack #pragma unpack
#endif #endif
#endif
#ifdef __RX
#ifdef __RENESAS__
;
/* Nothing to do. */
#endif
#endif

View file

@ -3,6 +3,19 @@
/* Nothing to do here. */ /* Nothing to do here. */
; ;
#endif #endif
/* Used by SH2A port. */
#ifdef _SH
#ifdef __RENESAS__ #ifdef __RENESAS__
#pragma pack 1 #pragma pack 1
#endif #endif
#endif
#ifdef __RX
#ifdef __RENESAS__
/* Nothing to do. */
#endif
#endif