Changeset 82fd245 in mainline for uspace/lib/c/include/stddef.h


Ignore:
Timestamp:
2018-07-05T21:41:19Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9f77d98
Parents:
e679283
git-author:
Dzejrou <dzejrou@…> (2018-01-07 00:18:22)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:19)
Message:

c: added extern C linkage if the c library headers are compiled as c++ headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/stddef.h

    re679283 r82fd245  
    3636#define LIBC_STDDEF_H_
    3737
     38#ifdef __cplusplus
     39extern "C" {
     40#endif
     41
    3842#include <_bits/size_t.h>
    3943#include <_bits/ssize_t.h>
     
    4650        ((size_t) &(((type *) 0)->member))
    4751
     52#ifdef __cplusplus
     53}
     54#endif
     55
    4856#endif
    4957
Note: See TracChangeset for help on using the changeset viewer.