OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [posix/] [libposix/] [include/] [posix/] [_lfs_64.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
/*
2
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
3
 *
4
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
5
 */
6
#include <features.h>
7
 
8
#ifdef __UCLIBC_HAS_LFS__
9
 
10
#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 
11
#undef _FILE_OFFSET_BITS
12
#define _FILE_OFFSET_BITS   64
13
#endif
14
 
15
#ifndef __USE_LARGEFILE64
16
# define __USE_LARGEFILE64      1
17
#endif
18
 
19
/* We absolutely do _NOT_ want interfaces silently
20
 * renamed under us or very bad things will happen... */
21
#ifdef __USE_FILE_OFFSET64
22
# undef __USE_FILE_OFFSET64
23
#endif
24
 
25
#else
26
 
27
# error Do not include this header in files not built when LFS is disabled
28
 
29
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.