lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 3457e11 was a1aecb1, checked in by Dzejrou <dzejrou@…>, 7 years ago |
|
cpp: added majority of libc wrappers, simple implementation of new and delete and a common internal header that currently contains compatibility macros for libc
|
-
Property mode
set to
100644
|
|
File size:
386 bytes
|
| Line | |
|---|
| 1 | #ifndef LIBCPP_INTERNAL_COMMON
|
|---|
| 2 | #define LIBCPP_INTERNAL_COMMON
|
|---|
| 3 |
|
|---|
| 4 | /**
|
|---|
| 5 | * G++ is will not properly include libc
|
|---|
| 6 | * headers without this define.
|
|---|
| 7 | */
|
|---|
| 8 | #define _Bool bool
|
|---|
| 9 |
|
|---|
| 10 | /**
|
|---|
| 11 | * The restrict keyword is not part of the
|
|---|
| 12 | * C++ standard, but g++ supports __restrict__,
|
|---|
| 13 | * this might cause problems with other compilers
|
|---|
| 14 | * like clang.
|
|---|
| 15 | * TODO: Test this.
|
|---|
| 16 | */
|
|---|
| 17 | #define restrict __restrict__
|
|---|
| 18 |
|
|---|
| 19 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.