Ignore:
Timestamp:
Jan 25, 2004, 5:42:49 PM (22 years ago)
Author:
bird
Message:

Initial hacking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/features.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1064 r1065  
    1616   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    1717   02111-1307 USA.  */
     18
     19/** @file
     20 * GLIBC v2.3.2
     21 * @changed bird: don't define *LARGEFILE64*, but make sure to indicate that
     22 *                off_t is 64bits.
     23 */
    1824
    1925#ifndef _FEATURES_H
     
    135141# define _XOPEN_SOURCE_EXTENDED 1
    136142# undef  _LARGEFILE64_SOURCE
     143#ifndef __EMX__ /* bird */
    137144# define _LARGEFILE64_SOURCE    1
     145#endif          /* bird */
    138146# undef  _BSD_SOURCE
    139147# define _BSD_SOURCE    1
     
    212220#endif
    213221
     222#ifndef __EMX__ /* bird */
    214223#ifdef _LARGEFILE64_SOURCE
    215224# define __USE_LARGEFILE64      1
    216225#endif
    217 
     226#endif /* bird */
     227
     228#ifndef __EMX__ /* bird */
    218229#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
    219230# define __USE_FILE_OFFSET64    1
    220231#endif
     232#else
     233# define __USE_FILE_OFFSET64    1
     234#endif          /* bird */
    221235
    222236#if defined _BSD_SOURCE || defined _SVID_SOURCE
     
    296310# if defined __USE_FILE_OFFSET64 && !defined __REDIRECT
    297311#  define __USE_LARGEFILE       1
     312#ifndef __EMX__ /* bird */
    298313#  define __USE_LARGEFILE64     1
     314#endif          /* bird */
    299315# endif
    300316
     
    308324
    309325
     326#ifndef __EMX__ /* bird */
    310327/* This is here only because every header file already includes this one.
    311328   Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
     
    313330   that will always return failure (and set errno to ENOSYS).  */
    314331#include <gnu/stubs.h>
     332#endif          /* bird */
    315333
    316334
Note: See TracChangeset for help on using the changeset viewer.