diff --git a/README.macosx b/README.macos similarity index 58% rename from README.macosx rename to README.macos index f7ee000..3280f7d 100644 --- a/README.macosx +++ b/README.macos @@ -1,4 +1,4 @@ - This package will compile on Darwin (MacOS X), but the building of + This package will compile on Darwin (MacOS), but the building of shared libraries is not supported. Make sure you use the --disable-shared option to configure. diff --git a/configure b/configure index 84bffc4..dcf6d59 100755 --- a/configure +++ b/configure @@ -517,6 +517,7 @@ EOF choose clr malloc0 MALLOC0 'non-NULL malloc(0)' choose c msgdontwait MSGDONTWAIT 'MSG_DONTWAIT' choose clr nbwaitall NBWAITALL 'non-blocking MSG_WAITALL' + choose c odirectory ODIRECTORY 'O_DIRECTORY' choose cl openat OPENAT 'openat()' choose cl linkat LINKAT 'linkat()' choose clr pipe2 PIPE2 'pipe2()' diff --git a/src/sysdeps/tryodirectory.c b/src/sysdeps/tryodirectory.c new file mode 100644 index 0000000..7dd8ce8 --- /dev/null +++ b/src/sysdeps/tryodirectory.c @@ -0,0 +1,5 @@ +/* ISC license. */ + +#include + +int dummy = O_DIRECTORY ;