]> git.sur5r.net Git - freertos/commitdiff
Include pack struct macros for RX architecture.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 9 Sep 2010 19:47:24 +0000 (19:47 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 9 Sep 2010 19:47:24 +0000 (19:47 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1088 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/ethernet/FreeTCPIP/net/pack_struct_end.h
Demo/Common/ethernet/FreeTCPIP/net/pack_struct_start.h

index e92ed3fb535f1b7fb015978e5bef665dbb37d9f6..ed4523e486a82632c5ff227cf450ea4df12e678d 100644 (file)
@@ -1,7 +1,19 @@
 #ifdef __GNUC__\r
-__attribute__( (packed) );\r
+       __attribute__( (packed) );\r
 #endif\r
-#ifdef __RENESAS__\r
-;\r
-#pragma unpack\r
+\r
+#ifdef _SH\r
+       #ifdef __RENESAS__\r
+               ;\r
+               #pragma unpack\r
+       #endif\r
 #endif\r
+\r
+#ifdef __RX\r
+       #ifdef __RENESAS__\r
+               ;\r
+               /* Nothing to do. */\r
+       #endif\r
+#endif\r
+\r
+\r
index 4c08937a5e5e4d3719cffd0410a989a8b7e2ef7c..2281682aa5c00b67ac3925df8fb7283688f51c7e 100644 (file)
@@ -3,6 +3,19 @@
 /* Nothing to do here. */\r
 ;\r
 #endif\r
-#ifdef __RENESAS__\r
-#pragma pack 1\r
+\r
+/* Used by SH2A port. */\r
+#ifdef _SH\r
+       #ifdef __RENESAS__\r
+               #pragma pack 1\r
+       #endif\r
+#endif\r
+\r
+\r
+#ifdef __RX\r
+       #ifdef __RENESAS__\r
+               /* Nothing to do. */\r
+       #endif\r
 #endif\r
+\r
+\r