sionescu / iolib

Common Lisp I/O library
http://common-lisp.net/project/iolib/
MIT License
141 stars 31 forks source link

Fixes for Solaris #59

Closed jesseoff closed 2 years ago

jesseoff commented 4 years ago

Solaris doesn't have d_fileno or d_type in the dirent struct and also needs some cflags to avoid cffi grovel errors.

sionescu commented 4 years ago

Given the fix to trivial-features, please change this patch to only use :sunos.

sionescu commented 4 years ago

Thanks. Can you please tarball your /usr/include and email it to me ? I want to check a few other things.

jesseoff commented 4 years ago

This is a tarball of all the standard includes gcc uses on my solaris box: https://www.dropbox.com/s/ltb11dnq2nxf7bq/solaris-inc.tar.gz?dl=0

jesseoff commented 4 years ago

There is a lot of optional cpp conditionals in building solaris, I wouldn't be surprised if there is one that enables extended dirent structs.