projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stat: fix compilation on AIX
[gnulib.git]
/
lib
/
fcntl.in.h
diff --git
a/lib/fcntl.in.h
b/lib/fcntl.in.h
index
cadb6a1
..
0ae8213
100644
(file)
--- a/
lib/fcntl.in.h
+++ b/
lib/fcntl.in.h
@@
-62,9
+62,11
@@
extern int open (const char *filename, int flags, ...);
#endif
#if @GNULIB_OPENAT@
#endif
#if @GNULIB_OPENAT@
-# if
!@HAV
E_OPENAT@
+# if
@REPLAC
E_OPENAT@
# undef openat
# define openat rpl_openat
# undef openat
# define openat rpl_openat
+# endif
+# if !@HAVE_OPENAT@ || @REPLACE_OPENAT@
int openat (int fd, char const *file, int flags, /* mode_t mode */ ...);
# endif
#elif defined GNULIB_POSIXCHECK
int openat (int fd, char const *file, int flags, /* mode_t mode */ ...);
# endif
#elif defined GNULIB_POSIXCHECK