sm64coopdx/include/libc/stdlib.h
fgsfds c57bacdfd7 clean up some toolchain compatibility fixes
also rename the abs() macro to not cause any fucking conflicts ever again
2020-05-19 22:22:52 +03:00

23 lines
308 B
C

#ifndef STDLIB_H
#define STDLIB_H
#include <stdlib.h>
#ifdef NO_LDIV
typedef struct lldiv_t
{
long long quot;
long long rem;
} lldiv_t;
typedef struct ldiv_t
{
long quot;
long rem;
} ldiv_t;
lldiv_t lldiv(long long num, long long denom);
ldiv_t ldiv(long num, long denom);
#endif
#endif