Commit 9828a38e authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

Solaris build fixes needed for modular builds

parent f51047c0
......@@ -27,6 +27,8 @@
#include <xorg-config.h>
#endif
#include <sys/types.h> /* get __x86 definition if not set by compiler */
#if defined(i386) || defined(__x86)
#define _NEED_SYSI86
#endif
......
......@@ -215,10 +215,16 @@ SOFTWARE.
#endif /* SuperH */
#if (defined(sun) && !(defined(i386) && defined(SVR4))) || \
#if (defined(sun) && (defined(__sparc) || defined(sparc))) || \
(defined(__uxp__) && (defined(sparc) || defined(mc68000))) || \
defined(__sparc__) || defined(__mc68000__)
#if defined(__sparc) || defined(__sparc__)
# if !defined(sparc)
# define sparc 1
# endif
#endif
#if defined(sun386) || defined(sun5)
# define IMAGE_BYTE_ORDER LSBFirst /* Values for the SUN only */
# define BITMAP_BIT_ORDER LSBFirst
......@@ -447,7 +453,7 @@ SOFTWARE.
#if (defined(SVR4) && defined(i386)) || \
defined(__alpha__) || defined(__alpha) || \
defined(__i386__) || \
defined(__i386__) || defined(__i386) || \
defined(__UNIXOS2__) || \
defined(__OS2ELF__) || \
defined(__QNX__) || \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment