This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 86706211e091109f02c844d8716bc87008ff9e3b (commit)
from d9a15fec02bf28856d8053d7efcf2fa19233d8d1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 86706211e091109f02c844d8716bc87008ff9e3b
Author: Thomas Petazzoni <thomas.petazzoni(a)free-electrons.com>
Date: Tue Nov 3 15:57:41 2015 +0100
unistd: fix #if condition
Commit dfa593d4d881116723a4401b466ea964fb12327b ("syncfs: add system
call support") modified the #if condition around the definition of the
syncfs() prototype in a way that doesn't build, causing build failures
of any file including <unistd.h>:
output/host/usr/powerpc-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:988:14:
error: #if with no expression
#if __USE_GNU
Signed-off-by: Thomas Petazzoni <thomas.petazzoni(a)free-electrons.com>
Reported-by: Xi-Sheng Luo <lxsjason(a)gmail.com>
-----------------------------------------------------------------------
Summary of changes:
include/unistd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/unistd.h b/include/unistd.h
index 4701dab..40d6abd 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1073,7 +1073,7 @@ extern char *getpass (const char *__prompt) __nonnull ((1));
extern int fsync (int __fd);
#endif /* Use BSD || X/Open || Unix98. */
-#if __USE_GNU
+#if defined __USE_GNU
/* Make all changes done to all files on the file system associated
* with FD actually appear on disk. */
extern int syncfs (int __fd) __THROW;
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
Show replies by date