diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-06 03:14:50 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-06 03:14:50 +0000 |
commit | 9828a38ed695fed9788ace8bba575e521fa354b7 (patch) | |
tree | 25dfc8ea941bdaad47abb53bd3038582f02f20cc /include | |
parent | f51047c0b6749ae8f04925eb62706b4743328383 (diff) |
Solaris build fixes needed for modular builds
Diffstat (limited to 'include')
-rw-r--r-- | include/servermd.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/servermd.h b/include/servermd.h index e21eecf8c..73f339b99 100644 --- a/include/servermd.h +++ b/include/servermd.h @@ -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__) || \ |