]> git.sur5r.net Git - freertos/blobdiff - Demo/Common/ethernet/lwIP_130/src/core/dns.c
Added extra compiler specific options.
[freertos] / Demo / Common / ethernet / lwIP_130 / src / core / dns.c
index 8c2cf08547a27b2d04615477651b1c63ea1eb102..defd7e434250e171e9bf4524384347e79ad02f4c 100644 (file)
 #  include "arch/bpstruct.h"\r
 #endif\r
 PACK_STRUCT_BEGIN\r
+#if (defined(__MWERKS__)  || defined(__CWCC__))\r
+       #pragma options align= packed\r
+#endif\r
 /** DNS message header */\r
 struct dns_hdr {\r
   u16_t id;\r
@@ -144,6 +147,9 @@ PACK_STRUCT_END
 #  include "arch/bpstruct.h"\r
 #endif\r
 PACK_STRUCT_BEGIN\r
+#if (defined(__MWERKS__)  || defined(__CWCC__))\r
+       #pragma options align= packed\r
+#endif\r
 /** DNS query message structure */\r
 struct dns_query {\r
   /* DNS query record starts with either a domain name or a pointer\r
@@ -160,6 +166,9 @@ PACK_STRUCT_END
 #  include "arch/bpstruct.h"\r
 #endif\r
 PACK_STRUCT_BEGIN\r
+#if (defined(__MWERKS__)  || defined(__CWCC__))\r
+       #pragma options align= packed\r
+#endif\r
 /** DNS answer message structure */\r
 struct dns_answer {\r
   /* DNS answer record starts with either a domain name or a pointer\r