summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-17 15:32:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-17 15:32:30 +0000
commit2d8a4ed0d6b7aeb924d9c11cb47e47674668da08 (patch)
treee7dfa0ebcb27acf4a17b848d20a42646d4cf3b9f
parent4ccd0203a251b6c8640278622136056d7d891b16 (diff)
downloadrtems-2d8a4ed0d6b7aeb924d9c11cb47e47674668da08.tar.bz2
Conditionally take out the offensive pragma pack when on RTEMS in addition
to UnixWare (UW).
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