Ignore:
Timestamp:
2018-09-25T18:33:23Z (5 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
dc68f72
Parents:
5e6b76d
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-25 17:42:45)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-25 18:33:23)
Message:

libposix: Correctly disambiguate other uses of off_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/stdio.h

    r5e6b76d ref84413  
    6161    FILE *__restrict__ stream);
    6262
     63#ifdef _LARGEFILE64_SOURCE
     64extern int fseeko64(FILE *stream, off64_t offset, int whence);
     65extern off64_t ftello64(FILE *stream);
     66#endif
     67
     68#if _FILE_OFFSET_BITS == 64 && LONG_MAX == INT_MAX
     69#ifdef __GNUC__
     70extern int fseeko(FILE *stream, off_t offset, int whence) __asm__("fseeko64");
     71extern off_t ftello(FILE *stream) __asm__("ftello64");
     72#else
     73extern int fseeko64(FILE *stream, off_t offset, int whence);
     74extern off_t ftello64(FILE *stream);
     75#define fseeko fseeko64
     76#define ftello ftello64
     77#endif
     78#else
    6379extern int fseeko(FILE *stream, off_t offset, int whence);
    6480extern off_t ftello(FILE *stream);
     81#endif
    6582
    6683/* Formatted Output */
Note: See TracChangeset for help on using the changeset viewer.