aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/fcntl.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/fcntl.in.h')
-rw-r--r--gnulib/import/fcntl.in.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnulib/import/fcntl.in.h b/gnulib/import/fcntl.in.h
index b2e1e51..0a21c95 100644
--- a/gnulib/import/fcntl.in.h
+++ b/gnulib/import/fcntl.in.h
@@ -116,9 +116,15 @@ _GL_WARN_ON_USE (creat, "creat is not always POSIX compliant - "
# endif
_GL_FUNCDECL_RPL (fcntl, int, (int fd, int action, ...));
_GL_CXXALIAS_RPL (fcntl, int, (int fd, int action, ...));
+# if !GNULIB_defined_rpl_fcntl
+# define GNULIB_defined_rpl_fcntl 1
+# endif
# else
# if !@HAVE_FCNTL@
_GL_FUNCDECL_SYS (fcntl, int, (int fd, int action, ...));
+# if !GNULIB_defined_fcntl
+# define GNULIB_defined_fcntl 1
+# endif
# endif
_GL_CXXALIAS_SYS (fcntl, int, (int fd, int action, ...));
# endif