# HG changeset patch # User Bruno Haible # Date 1299933153 -3600 # Node ID c4c3d3ee58b19707df22b6fbcd865ee9937edc10 # Parent af58015b5dc25e2b710585ca3aa2fa8808d6f774 Oops, fix last commit. diff --git a/lib/sys_stat.in.h b/lib/sys_stat.in.h --- a/lib/sys_stat.in.h +++ b/lib/sys_stat.in.h @@ -359,7 +359,7 @@ implementation relies on futimesat, which on Solaris 10 makes an invocation to futimens that is meant to invoke the libc's futimens(), not gnulib's futimens(). */ -# if @REPLACE_FUTIMENS@ || defined __sun +# if @REPLACE_FUTIMENS@ || (!@HAVE_FUTIMENS@ && defined __sun) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef futimens # define futimens rpl_futimens @@ -622,7 +622,7 @@ implementation relies on futimesat, which on Solaris 10 makes an invocation to utimensat that is meant to invoke the libc's utimensat(), not gnulib's utimensat(). */ -# if @REPLACE_UTIMENSAT@ || defined __sun +# if @REPLACE_UTIMENSAT@ || (!@HAVE_UTIMENSAT@ && defined __sun) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef utimensat # define utimensat rpl_utimensat