mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
patch for plan9 build from raingloom
This commit is contained in:
parent
77aab98784
commit
4e1ff91cbb
1 changed files with 6 additions and 0 deletions
|
@ -82,6 +82,12 @@ typedef long long off_t;
|
||||||
#define exit(x) exits(TOSTRING(x))
|
#define exit(x) exits(TOSTRING(x))
|
||||||
#define fabsl fabs
|
#define fabsl fabs
|
||||||
#define M_LN10 2.30258509299404568402 /* log_e 10 */
|
#define M_LN10 2.30258509299404568402 /* log_e 10 */
|
||||||
|
#define FLT_RADIX 2
|
||||||
|
#define isfinite(x) !(isNaN(x) || isInf(x,0))
|
||||||
|
typedef u32int uint32_t;
|
||||||
|
typedef s32int int32_t;
|
||||||
|
typedef u64int uint64_t;
|
||||||
|
typedef s64int int64_t;
|
||||||
#else
|
#else
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue