sm64coopdx/include/libc/stdlib.h

24 lines
308 B
C
Raw Permalink Normal View History

2019-11-03 20:36:27 +01:00
#ifndef STDLIB_H
#define STDLIB_H
2019-08-25 06:46:40 +02:00
#include <stdlib.h>
2020-05-19 15:14:44 +02:00
#ifdef NO_LDIV
2019-08-25 06:46:40 +02:00
typedef struct lldiv_t
{
long long quot;
long long rem;
} lldiv_t;
typedef struct ldiv_t
{
long quot;
long rem;
} ldiv_t;
2019-11-03 20:36:27 +01:00
lldiv_t lldiv(long long num, long long denom);
ldiv_t ldiv(long num, long denom);
2020-05-19 15:14:44 +02:00
#endif
2019-08-25 06:46:40 +02:00
#endif