aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-AT91SAM7X-UIP-GCC/web/cc-arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARM7-AT91SAM7X-UIP-GCC/web/cc-arch.h')
-rw-r--r--demos/ARM7-AT91SAM7X-UIP-GCC/web/cc-arch.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/ARM7-AT91SAM7X-UIP-GCC/web/cc-arch.h b/demos/ARM7-AT91SAM7X-UIP-GCC/web/cc-arch.h
new file mode 100644
index 000000000..744cf56ef
--- /dev/null
+++ b/demos/ARM7-AT91SAM7X-UIP-GCC/web/cc-arch.h
@@ -0,0 +1,9 @@
+#ifndef __CC_ARCH_H__
+#define __CC_ARCH_H__
+
+#define PACK_STRUCT_FIELD(x) x __attribute__((packed))
+#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_END
+
+#endif /* __CC_ARCH_H__ */