mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 23:43:01 +00:00
c57bacdfd7
also rename the abs() macro to not cause any fucking conflicts ever again
23 lines
308 B
C
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
|