summaryrefslogtreecommitdiff
path: root/include/servermd.h
diff options
context:
space:
mode:
authorBen Byer <bbyer@bbyer.local>2007-10-14 18:07:03 -0700
committerBen Byer <bbyer@bbyer.local>2007-10-14 18:07:03 -0700
commit3d4eb17b38dcb1468493f3686dc5ea3623ef9a73 (patch)
tree8513b52c480f7e2fd8821d959a097c95ec67676c /include/servermd.h
parentec0fc012e91e703bb399a380df2912f71957a220 (diff)
mass change from #ifdef i386 to #ifdef __i386__ to conform to ANSI
Diffstat (limited to 'include/servermd.h')
-rw-r--r--include/servermd.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/servermd.h b/include/servermd.h
index 74b90b38a..2616bfed6 100644
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -260,7 +260,7 @@ SOFTWARE.
#if defined(ibm032) || defined (ibm)
-#ifdef i386
+#ifdef __i386__
# define IMAGE_BYTE_ORDER LSBFirst /* Value for PS/2 only */
#else
# define IMAGE_BYTE_ORDER MSBFirst /* Values for the RT only*/
@@ -270,7 +270,7 @@ SOFTWARE.
#define GETLEFTBITS_ALIGNMENT 4
/* ibm pcc doesn't understand pragmas. */
-#ifdef i386
+#ifdef __i386__
#define BITMAP_SCANLINE_UNIT 8
#endif
@@ -444,10 +444,9 @@ SOFTWARE.
#endif /* luna */
-#if (defined(SVR4) && defined(i386)) || \
+#if (defined(SVR4) && defined(__i386__)) || \
defined(__alpha__) || defined(__alpha) || \
- defined(__i386__) || defined(__i386) || \
- defined(__QNX__) || \
+ defined(__i386__) || defined(__QNX__) || \
defined(__s390x__) || defined(__s390__)
#ifndef IMAGE_BYTE_ORDER