To get things to compile on Solaris, change configure to check
for -lpthread since in libc the thread functions are defined but all return ENOSYS, you need to explicitely link with -lphtread. the ctype functions is*() arguments should be explicitely cast since Solaris use them as indexes. __REENTRANT as to be define if compile with support for threads. Never realize this but setenv() is a BSD/GNU thing, so took a variant from libiberty to cope.
Showing
13 changed files
with
241 additions
and
21 deletions
lib/setenv.c
0 → 100644
-
Please register or sign in to post a comment