sm64pc/include/libc/stdlib.h

28 lines
321 B
C
Raw 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
2020-05-19 15:14:44 +02:00
#ifndef TARGET_WEB
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);
2019-08-25 06:46:40 +02:00
2020-05-19 15:14:44 +02:00
#else
#include <stdlib.h>
#endif
2019-08-25 06:46:40 +02:00
#endif