svn commit: trunk/uClibc: include libc/sysdeps/linux/common
psm at uclibc.org
psm at uclibc.org
Sun Feb 26 13:08:33 UTC 2006
Author: psm
Date: 2006-02-26 05:08:32 -0800 (Sun, 26 Feb 2006)
New Revision: 14296
Log:
Move _lfs_64.h to include and adapt files
Added:
trunk/uClibc/include/_lfs_64.h
Removed:
trunk/uClibc/libc/sysdeps/linux/common/_lfs_64.h
Modified:
trunk/uClibc/Makefile.in
trunk/uClibc/libc/sysdeps/linux/common/creat64.c
trunk/uClibc/libc/sysdeps/linux/common/getrlimit64.c
trunk/uClibc/libc/sysdeps/linux/common/mmap64.c
trunk/uClibc/libc/sysdeps/linux/common/setrlimit64.c
Changeset:
Modified: trunk/uClibc/Makefile.in
===================================================================
--- trunk/uClibc/Makefile.in 2006-02-26 13:03:12 UTC (rev 14295)
+++ trunk/uClibc/Makefile.in 2006-02-26 13:08:32 UTC (rev 14296)
@@ -124,6 +124,7 @@
printf '#ifndef _LIBC_INTERNAL_H\n#define _LIBC_INTERNAL_H 1\n#endif\n' > \
$(PREFIX)$(DEVEL_PREFIX)include/libc-internal.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/dl-osinfo.h
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/_lfs_64.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/uClibc_uintmaxtostr.h
ifneq ($(UCLIBC_HAS_FLOATS),y)
# Remove floating point related headers since float support is disabled.
Copied: trunk/uClibc/include/_lfs_64.h (from rev 14249, trunk/uClibc/libc/sysdeps/linux/common/_lfs_64.h)
Deleted: trunk/uClibc/libc/sysdeps/linux/common/_lfs_64.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/_lfs_64.h 2006-02-26 13:03:12 UTC (rev 14295)
+++ trunk/uClibc/libc/sysdeps/linux/common/_lfs_64.h 2006-02-26 13:08:32 UTC (rev 14296)
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2000-2006 Erik Andersen <andersen at uclibc.org>
- *
- * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
- */
-#include <features.h>
-
-#ifdef __UCLIBC_HAS_LFS__
-
-#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
-#undef _FILE_OFFSET_BITS
-#define _FILE_OFFSET_BITS 64
-#endif
-
-#ifndef __USE_LARGEFILE64
-# define __USE_LARGEFILE64 1
-#endif
-
-/* We absolutely do _NOT_ want interfaces silently
- * * renamed under us or very bad things will happen... */
-#ifdef __USE_FILE_OFFSET64
-# undef __USE_FILE_OFFSET64
-#endif
-
-#else
-
-# error Don't include this header in files not built when LFS is disabled
-
-#endif
Modified: trunk/uClibc/libc/sysdeps/linux/common/creat64.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/creat64.c 2006-02-26 13:03:12 UTC (rev 14295)
+++ trunk/uClibc/libc/sysdeps/linux/common/creat64.c 2006-02-26 13:08:32 UTC (rev 14296)
@@ -16,7 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#include "_lfs_64.h"
+#include <_lfs_64.h>
#ifdef __UCLIBC_HAS_LFS__
#include <fcntl.h>
Modified: trunk/uClibc/libc/sysdeps/linux/common/getrlimit64.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/getrlimit64.c 2006-02-26 13:03:12 UTC (rev 14295)
+++ trunk/uClibc/libc/sysdeps/linux/common/getrlimit64.c 2006-02-26 13:08:32 UTC (rev 14296)
@@ -16,7 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#include "_lfs_64.h"
+#include <_lfs_64.h>
#include <sys/types.h>
#include <sys/resource.h>
Modified: trunk/uClibc/libc/sysdeps/linux/common/mmap64.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/mmap64.c 2006-02-26 13:03:12 UTC (rev 14295)
+++ trunk/uClibc/libc/sysdeps/linux/common/mmap64.c 2006-02-26 13:08:32 UTC (rev 14296)
@@ -5,7 +5,7 @@
*/
/* Massivly hacked up for uClibc by Erik Andersen */
-#include "_lfs_64.h"
+#include <_lfs_64.h>
#ifdef __UCLIBC_HAS_LFS__
Modified: trunk/uClibc/libc/sysdeps/linux/common/setrlimit64.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/setrlimit64.c 2006-02-26 13:03:12 UTC (rev 14295)
+++ trunk/uClibc/libc/sysdeps/linux/common/setrlimit64.c 2006-02-26 13:08:32 UTC (rev 14296)
@@ -16,7 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#include "_lfs_64.h"
+#include <_lfs_64.h>
#include <sys/types.h>
#include <sys/resource.h>
More information about the uClibc-cvs
mailing list