Changeset 002fd5f in mainline for uspace/lib/c/include/types/common.h


Ignore:
Timestamp:
2017-10-24T04:54:05Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b639d56
Parents:
9ddcb0b
Message:

Replace parts of system headers with <_bits/…>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/types/common.h

    r9ddcb0b r002fd5f  
    3636#define LIBC_TYPES_COMMON_H_
    3737
    38 #include <libarch/types.h>
     38#if __SIZEOF_POINTER__ == 4
     39#define __32_BITS__
     40#elif __SIZEOF_POINTER__ == 8
     41#define __64_BITS__
     42#else
     43#error __SIZEOF_POINTER__ is not defined.
     44#endif
     45
     46#include <_bits/all.h>
    3947
    4048#endif
Note: See TracChangeset for help on using the changeset viewer.