initial illumos port
This commit is contained in:
committed by
Jon Trulson
parent
3c14b8b5ce
commit
468d576030
@@ -77,7 +77,7 @@ int SUNWDtHelpdlopen()
|
||||
|
||||
_DtSvcProcessLock();
|
||||
pmySUNWProcList = (SUNWHelpProcList *)malloc(sizeof(SUNWHelpProcList));
|
||||
libDtHelpHandle = dlopen("libDtHelp.so.1", RTLD_LAZY | RTLD_GLOBAL);
|
||||
libDtHelpHandle = dlopen("libDtHelp.so.2.1", RTLD_LAZY | RTLD_GLOBAL);
|
||||
if (libDtHelpHandle == NULL) {
|
||||
char *my_err_msg;
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ INCLUDES = -I.
|
||||
|
||||
#ifdef SharedDtSvcReqs
|
||||
#ifdef SunArchitecture
|
||||
REQUIREDLIBS = SharedDtSvcReqs -L/opt/SUNWspro/SC4.0/lib -Bstatic -lC
|
||||
REQUIREDLIBS = SharedDtSvcReqs -lC -lCrun
|
||||
SHLIBLDFLAGS = -G
|
||||
#else
|
||||
REQUIREDLIBS = SharedDtSvcReqs
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
#if !(defined(apollo) && defined(__bsd)) && !defined(CSRG_BASED)
|
||||
|
||||
#if defined(__STDC__)
|
||||
#if !defined(linux) && !defined(__osf__) && !defined(_XFUNCS_H_)
|
||||
#if !defined(linux) && !defined(__osf__) && !defined(_XFUNCS_H_) && !defined(sun)
|
||||
extern void bcopy(char *b1, char *b2, int length);
|
||||
extern int bcmp(char *b1, char *b2, int length);
|
||||
extern void bzero(char *b, int length);
|
||||
|
||||
@@ -75,7 +75,7 @@ extern "C"
|
||||
|
||||
#ifdef __cplusplus
|
||||
char *strtokx(char *&ptr, const char *sep);
|
||||
# if !defined(__osf__) && !defined(linux) && !defined(CSRG_BASED)
|
||||
# if !defined(__osf__) && !defined(linux) && !defined(sun) && !defined(CSRG_BASED)
|
||||
char **strsep(const char *str, const char *sep,
|
||||
boolean whsp = TRUE, int *num = NULL);
|
||||
# if !defined(__osf__)
|
||||
@@ -85,7 +85,7 @@ extern "C"
|
||||
|
||||
#else /* __STDC__ */
|
||||
char *strtokx(char **ptr, const char *sep);
|
||||
# if !defined(linux) && !defined(CSRG_BASED)
|
||||
# if !defined(linux) && !defined(sun) && !defined(CSRG_BASED)
|
||||
char **strsep(const char *str, const char *sep,
|
||||
boolean whsp, int *num);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user