summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/libnetworking/rtems_webserver/uemf.h4
-rw-r--r--cpukit/httpd/uemf.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/libnetworking/rtems_webserver/uemf.h b/c/src/libnetworking/rtems_webserver/uemf.h
index 31421a1af4..c63e75bd99 100644
--- a/c/src/libnetworking/rtems_webserver/uemf.h
+++ b/c/src/libnetworking/rtems_webserver/uemf.h
@@ -316,7 +316,7 @@ typedef struct stat gstat_t;
/*
* These values are not prefixed so as to aid code readability
*/
-#ifndef UW
+#if !defined(UW) && !defined(__rtems__)
#pragma pack(2)
#endif
@@ -361,7 +361,7 @@ typedef struct {
#define value_strget(v) \
(((v)->type == bytes) ? (v)->value.bytes : (v)->value.string)
-#ifndef UW
+#if !defined(UW) && !defined(__rtems__)
#pragma pack()
#endif
diff --git a/cpukit/httpd/uemf.h b/cpukit/httpd/uemf.h
index 31421a1af4..c63e75bd99 100644
--- a/cpukit/httpd/uemf.h
+++ b/cpukit/httpd/uemf.h
@@ -316,7 +316,7 @@ typedef struct stat gstat_t;
/*
* These values are not prefixed so as to aid code readability
*/
-#ifndef UW
+#if !defined(UW) && !defined(__rtems__)
#pragma pack(2)
#endif
@@ -361,7 +361,7 @@ typedef struct {
#define value_strget(v) \
(((v)->type == bytes) ? (v)->value.bytes : (v)->value.string)
-#ifndef UW
+#if !defined(UW) && !defined(__rtems__)
#pragma pack()
#endif