Changeset d5a89a3 in mainline for uspace/lib/c/include/assert.h


Ignore:
Timestamp:
2019-02-11T22:31:04Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
aaf9789c
Parents:
e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merging with upstream/master

File:
1 edited

Legend:

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

    re3272101 rd5a89a3  
    3838// This is in accordance with the C standard.
    3939
    40 #ifndef LIBC_ASSERT_H_
    41 #define LIBC_ASSERT_H_
     40#ifndef _LIBC_ASSERT_H_
     41#define _LIBC_ASSERT_H_
    4242
    4343#ifndef __cplusplus
    44 #define static_assert(expr)     _Static_assert(expr, "")
     44#define static_assert _Static_assert
    4545#endif
    4646
Note: See TracChangeset for help on using the changeset viewer.