Skip to content

Commit

Permalink
Add O_DIRECTORY sysdep
Browse files Browse the repository at this point in the history
  • Loading branch information
skarnet committed Nov 22, 2017
1 parent f2d0cf5 commit 067382c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.macosx → 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.
1 change: 1 addition & 0 deletions configure
Expand Up @@ -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()'
Expand Down
5 changes: 5 additions & 0 deletions src/sysdeps/tryodirectory.c
@@ -0,0 +1,5 @@
/* ISC license. */

#include <fcntl.h>

int dummy = O_DIRECTORY ;

0 comments on commit 067382c

Please sign in to comment.