From 4e468ed2eb86a2406e14f1eca82072ee501d05fd Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:03:48 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- libc/include/stdio.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libc/include/stdio.h') diff --git a/libc/include/stdio.h b/libc/include/stdio.h index 9f62d63..b3b0adf 100644 --- a/libc/include/stdio.h +++ b/libc/include/stdio.h @@ -292,7 +292,7 @@ char *cuserid(char *); FILE *fdopen(int, const char *); int fileno(FILE *); -#if __POSIX_VISIBLE >= 199209 +#if (__POSIX_VISIBLE >= 199209) || 1 /* ANDROID: Bionic does include this */ int pclose(FILE *); FILE *popen(const char *, const char *); #endif @@ -317,12 +317,6 @@ char *tempnam(const char *, const char *); #endif __END_DECLS -#ifndef _POSIX_THREADS -# define flockfile(fp) /* nothing */ -# define ftrylockfile(fp) (0) -# define funlockfile(fp) /* nothing */ -#endif - #endif /* __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE */ /* -- cgit v1.1