1
0
mirror of https://github.com/sm64pc/sm64pc.git synced 2025-04-12 00:05:59 +02:00
sm64pc/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

24 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