mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
97b7116953
After going through the MODE=dbg and MODE=zero build modes, a bunch of little issues were identified, which have been addressed. Fixing those issues created even more troubles for the project, because it improved our ability to detect latent problems which are getting fixed so fast.
10 lines
371 B
C
10 lines
371 B
C
#ifndef COSMOPOLITAN_LIBC_STDCKDINT_H_
|
|
#define COSMOPOLITAN_LIBC_STDCKDINT_H_
|
|
|
|
#define __STDC_VERSION_STDCKDINT_H__ 202311L
|
|
|
|
#define ckd_add(res, x, y) __builtin_add_overflow((x), (y), (res))
|
|
#define ckd_sub(res, x, y) __builtin_sub_overflow((x), (y), (res))
|
|
#define ckd_mul(res, x, y) __builtin_mul_overflow((x), (y), (res))
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_STDCKDINT_H_ */
|