Ignore:
Timestamp:
2018-09-24T15:36:21Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
34c76e2f
Parents:
631281d
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-24 15:02:32)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-24 15:36:21)
Message:

Make libposix headers understand _FILE_OFFSET_BITS and _LARGEFILE64_SOURCE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/sys/types.h

    r631281d r97b1dfc2  
    4343typedef unsigned int uid_t;
    4444typedef unsigned int gid_t;
    45 typedef int64_t off_t;
    4645typedef long blksize_t;
    4746typedef long blkcnt_t;
     
    4948typedef sysarg_t dev_t;
    5049typedef unsigned int mode_t;
     50
     51#if _FILE_OFFSET_BITS == 64
     52typedef int64_t off_t;
     53#else
     54typedef long off_t;
     55#endif
     56
     57#ifdef _LARGEFILE64_SOURCE
     58typedef int64_t off64_t;
     59#endif
    5160
    5261/* PThread Types */
Note: See TracChangeset for help on using the changeset viewer.