OpenIndiana and Solaris port
This commit is contained in:
committed by
Jon Trulson
parent
42e891d9e7
commit
01d6c363fa
@@ -17,6 +17,10 @@ EXTRA_DEFINES = -DBYTE_SWAP
|
||||
EXTRA_DEFINES = -DBYTE_SWAP
|
||||
#endif
|
||||
|
||||
#if defined(SunArchitecture)
|
||||
EXTRA_DEFINES = -DBYTE_SWAP
|
||||
#endif
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
ForceSubdirs($(SUBDIRS))
|
||||
DependSubdirs($(SUBDIRS))
|
||||
|
||||
@@ -27,6 +27,10 @@ EXTRA_DEFINES = -D_XOPEN_SOURCE
|
||||
EXTRA_DEFINES = -DBYTE_SWAP -D_XOPEN_SOURCE=700
|
||||
#endif
|
||||
|
||||
#if defined(SunArchitecture)
|
||||
EXTRA_DEFINES = -DBYTE_SWAP -D_XOPEN_SOURCE=700
|
||||
#endif
|
||||
|
||||
#define DoNormalLib NormalLibDtSearch
|
||||
#define DoSharedLib SharedLibDtSearch
|
||||
#define DoDebugLib DebugLibDtSearch
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
# define __SVR4_I386_ABI_L1__
|
||||
#endif
|
||||
#include <limits.h> /* pickup WORD_BIT, LONG_BIT */
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
# undef __SVR4_I386_ABI_L1__
|
||||
# ifndef WORD_BIT
|
||||
# define WORD_BIT 32
|
||||
|
||||
Reference in New Issue
Block a user