initial illumos port
This commit is contained in:
committed by
Jon Trulson
parent
3c14b8b5ce
commit
468d576030
@@ -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