| 1 |
// SPDX-License-Identifier: BSD-2-Clause-Patent |
| 2 |
#ifdef SHIM_UNIT_TEST |
| 3 |
#include_next <stdlib.h> |
| 4 |
#else |
| 5 |
#ifndef _STDLIB_H |
| 6 |
#define _STDLIB_H |
| 7 |
|
| 8 |
/* |
| 9 |
* I don't know why, but openssl expects to get size_t from stdlib.h |
| 10 |
* instead of stddef.h, so... whatever. |
| 11 |
*/ |
| 12 |
#include <stddef.h> |
| 13 |
|
| 14 |
static inline void abort(void) { } |
| 15 |
|
| 16 |
#include <builtins_begin_.h> |
| 17 |
mkbi1_(int, abs, int, j) |
| 18 |
mkbi1_(long int, labs, long int, j) |
| 19 |
mkbi1_(long long int, llabs, long long int, j) |
| 20 |
|
| 21 |
#ifdef _INTTYPES_H |
| 22 |
mkbi1_(intmax_t, imaxabs, intmax_t, j) |
| 23 |
#endif /* _INTTYPES_H */ |
| 24 |
#include <builtins_end_.h> |
| 25 |
|
| 26 |
#endif /* !_STDLIB_H */ |
| 27 |
#endif |
| 28 |
// vim:fenc=utf-8:tw=75:noet |