From a541297617e567eadc7448e1af35d7bb20461a8c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 31 May 2012 23:12:31 -0400 Subject: enable LARGEFILE64 aliases these will NOT be used when compiling with -D_LARGEFILE64_SOURCE on musl; instead, they exist in the hopes of eventually being able to run some glibc-linked apps with musl sitting in place of glibc. also remove the (apparently incorrect) fcntl alias. --- src/internal/libc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/internal') diff --git a/src/internal/libc.h b/src/internal/libc.h index 0ec3691e..53e4e826 100644 --- a/src/internal/libc.h +++ b/src/internal/libc.h @@ -62,8 +62,7 @@ extern char **__environ; extern __typeof(old) new __attribute__((weak, alias(#old))) #undef LFS64_2 -//#define LFS64_2(x, y) weak_alias(x, y) -#define LFS64_2(x, y) extern __typeof(x) y +#define LFS64_2(x, y) weak_alias(x, y) #undef LFS64 #define LFS64(x) LFS64_2(x, x##64) -- cgit v1.2.1