Changeset af5037d in mainline


Ignore:
Timestamp:
2019-05-27T12:37:32Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
31a566b, 4d51c60, 52acfab
Parents:
95174bf
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-14 19:42:12)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-27 12:37:32)
Message:

_GNU_SOURCE implies _LARGEFILE64_SOURCE

Location:
uspace/lib/posix/include/posix
Files:
3 edited

Legend:

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

    r95174bf raf5037d  
    6161    FILE *__restrict__ stream);
    6262
    63 #ifdef _LARGEFILE64_SOURCE
     63#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
    6464extern int fseeko64(FILE *stream, off64_t offset, int whence);
    6565extern off64_t ftello64(FILE *stream);
  • uspace/lib/posix/include/posix/sys/types.h

    r95174bf raf5037d  
    5555#endif
    5656
    57 #ifdef _LARGEFILE64_SOURCE
     57#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
    5858typedef int64_t off64_t;
    5959#endif
  • uspace/lib/posix/include/posix/unistd.h

    r95174bf raf5037d  
    8686extern int dup2(int fildes, int fildes2);
    8787
    88 #ifdef _LARGEFILE64_SOURCE
     88#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
    8989extern off64_t lseek64(int fildes, off64_t offset, int whence);
    9090extern int ftruncate64(int fildes, off64_t length);
Note: See TracChangeset for help on using the changeset viewer.