Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e9690b6 in mainline for abi/include/_bits/inttypes.h


Ignore:
Timestamp:
2017-10-25T00:25:10Z (4 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master
Children:
7c50de5a
Parents:
1c95fd0
Message:

Allow disabling intmax_t in downstream code (used in coastline).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/_bits/inttypes.h

    r1c95fd0 re9690b6  
    4444#include <_bits/wchar_t.h>
    4545
    46 typedef struct {
    47         intmax_t quot;
    48         intmax_t rem;
    49 } imaxdiv_t;
    50 
    5146#define PRId8       __PRId8__
    5247#define PRIdLEAST8  __PRId8__
     
    237232#define SCNxPTR  __SCNxPTR__
    238233
     234#ifndef __HELENOS_DISABLE_INTMAX__
     235
    239236#define PRIdMAX  __PRIdMAX__
    240237#define PRIiMAX  __PRIiMAX__
     
    249246#define SCNxMAX  __SCNxMAX__
    250247
     248typedef struct {
     249        intmax_t quot;
     250        intmax_t rem;
     251} imaxdiv_t;
     252
     253#endif  /* __HELENOS_DISABLE_INTMAX__ */
     254
    251255#endif
    252256
Note: See TracChangeset for help on using the changeset viewer.