diff options
| author | dearblue <[email protected]> | 2019-10-03 23:21:04 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2019-10-03 23:32:24 +0900 |
| commit | fab062f7b5708e4a20c56348d6ca8788427b8f70 (patch) | |
| tree | 86687e4656c651f8bc960ef65ed728573958aace /src/error.c | |
| parent | de176d37e06d4b3fdb320ff0b900f750433fdade (diff) | |
| download | mruby-fab062f7b5708e4a20c56348d6ca8788427b8f70.tar.gz mruby-fab062f7b5708e4a20c56348d6ca8788427b8f70.zip | |
Remove duplicates header files in `src/pool.c`
These are included in `mruby.h`.
As a background, if `enable_cxx_abi` is specified, the macro that
defines the maximum value in `stdint.h` is undefined depending on the
environment.
- Confirmed with gcc on FreeBSD 12.0 and mingw32-gcc available on
FreeBSD.
- `INTPTR_MAX`, `INT64_MAX` and `UINT64_MAX` are defined by `cstdint`
added in C++11. But `toolchains :gcc` adds `-std=c++03`, so the macros
are not defined.
- To have these defined in `C++03`, `__STDC_CONSTANT_MACROS` must be
defined in advance. This is already done by `mruby.h`.
Diffstat (limited to 'src/error.c')
0 files changed, 0 insertions, 0 deletions
