diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-11-15 16:30:10 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-11-15 16:30:10 +0100 |
commit | fdde921b6d70f3178e5895465a8519153c6bf867 (patch) | |
tree | a770a8a08aa8e47416c9f185dcb0a7a6183ca977 /gl/sys_stat.in.h | |
parent | 701fefd295989879856b66424c6cd5f38a9ec8ea (diff) | |
download | gnutls-fdde921b6d70f3178e5895465a8519153c6bf867.tar.gz |
Update gnulib files.
Diffstat (limited to 'gl/sys_stat.in.h')
-rw-r--r-- | gl/sys_stat.in.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gl/sys_stat.in.h b/gl/sys_stat.in.h index 98b3689f78..8c735c834c 100644 --- a/gl/sys_stat.in.h +++ b/gl/sys_stat.in.h @@ -424,6 +424,23 @@ extern int mkdirat (int fd, char const *file, mode_t mode); #endif +#if @GNULIB_MKFIFO@ +# if @REPLACE_MKFIFO@ +# undef mkfifo +# define mkfifo rpl_mkfifo +# endif +# if !@HAVE_MKFIFO@ || @REPLACE_MKFIFO@ +int mkfifo (char const *file, mode_t mode); +# endif +#elif defined GNULIB_POSIXCHECK +# undef mkfifo +# define mkfifo(n,m) \ + (GL_LINK_WARNING ("mkfifo is not portable - " \ + "use gnulib module mkfifo for portability"), \ + mkfifo (n, m)) +#endif + + #if @GNULIB_MKFIFOAT@ # if !@HAVE_MKFIFOAT@ int mkfifoat (int fd, char const *file, mode_t mode); @@ -437,6 +454,23 @@ int mkfifoat (int fd, char const *file, mode_t mode); #endif +#if @GNULIB_MKNOD@ +# if @REPLACE_MKNOD@ +# undef mknod +# define mknod rpl_mknod +# endif +# if !@HAVE_MKNOD@ || @REPLACE_MKNOD@ +int mknod (char const *file, mode_t mode, dev_t dev); +# endif +#elif defined GNULIB_POSIXCHECK +# undef mknod +# define mknod(n,m,d) \ + (GL_LINK_WARNING ("mknod is not portable - " \ + "use gnulib module mknod for portability"), \ + mknod (n, m, d)) +#endif + + #if @GNULIB_MKNODAT@ # if !@HAVE_MKNODAT@ int mknodat (int fd, char const *file, mode_t mode, dev_t dev); |