Changeset 133a161


Ignore:
Timestamp:
Aug 19, 2020, 2:08:44 PM (16 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
8e9d567
Parents:
f2384c9a
Message:

Fixed redeclaration of off_t for x86

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/iocall.cfa

    rf2384c9a r133a161  
    150150        extern int fsync(int fd);
    151151
    152         typedef __off64_t off_t;
     152        #if __OFF_T_MATCHES_OFF64_T
     153                typedef __off64_t off_t;
     154        #else
     155                typedef __off_t off_t;
     156        #endif
    153157        typedef __off64_t off64_t;
    154158        extern int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags);
Note: See TracChangeset for help on using the changeset viewer.