lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 55cd829 was 2be40c81, checked in by Dzejrou <dzejrou@…>, 7 years ago |
cpp+c: bool is now defined as _Bool only in C mode
|
-
Property mode
set to
100644
|
File size:
319 bytes
|
Rev | Line | |
---|
[a1aecb1] | 1 | #ifndef LIBCPP_INTERNAL_COMMON
|
---|
| 2 | #define LIBCPP_INTERNAL_COMMON
|
---|
| 3 |
|
---|
| 4 | /**
|
---|
| 5 | * The restrict keyword is not part of the
|
---|
| 6 | * C++ standard, but g++ supports __restrict__,
|
---|
| 7 | * this might cause problems with other compilers
|
---|
| 8 | * like clang.
|
---|
| 9 | * TODO: Test this.
|
---|
| 10 | */
|
---|
| 11 | #define restrict __restrict__
|
---|
| 12 |
|
---|
[0564a02e] | 13 | #undef NULL
|
---|
| 14 | #define NULL nullptr
|
---|
| 15 |
|
---|
[a1aecb1] | 16 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.