summaryrefslogtreecommitdiff
path: root/Xmd.h
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2006-04-20 01:24:25 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2006-04-20 01:24:25 +0000
commit33cea539618d58d64efb6a5c0465d14a471256cd (patch)
tree4fb6495411d82618e93f1754c281506d233953b4 /Xmd.h
parent5e7d5cbf21c33f883ab508a51422775f59c4da00 (diff)
On Solaris, #include <sys/isa_defs.h> to be sure _LP64 is defined in 64-bit
builds. Fix some comment typos.
Diffstat (limited to 'Xmd.h')
-rw-r--r--Xmd.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Xmd.h b/Xmd.h
index 8c70de9..fe8d02b 100644
--- a/Xmd.h
+++ b/Xmd.h
@@ -1,3 +1,4 @@
+/* $XdotOrg: $ */
/* $XFree86: xc/include/Xmd.h,v 3.18tsi Exp $ */
/***********************************************************
@@ -55,6 +56,10 @@ SOFTWARE.
/*
* Special per-machine configuration flags.
*/
+#if defined(sun) && defined(__SVR4)
+# include <sys/isa_defs.h> /* Solaris: defines _LP64 if necessary */
+#endif
+
#ifdef CRAY
#define WORD64 /* 64-bit architecture */
#endif
@@ -72,7 +77,7 @@ SOFTWARE.
/*
* Stuff to handle large architecture machines; the constants were generated
- * on a 32-bit machine and must coorespond to the protocol.
+ * on a 32-bit machine and must correspond to the protocol.
*/
#ifdef WORD64
#define MUSTCOPY
@@ -102,7 +107,7 @@ SOFTWARE.
/*
* Bitfield suffixes for the protocol structure elements, if you
- * need them. Note that bitfields are not guarranteed to be signed
+ * need them. Note that bitfields are not guaranteed to be signed
* (or even unsigned) according to ANSI C.
*/
#ifdef WORD64