mirror of https://github.com/libAthena/athena.git
38 lines
794 B
C
38 lines
794 B
C
#ifndef GEKKO_SUPPORT_H
|
|
#define GEKKO_SUPPORT_H
|
|
|
|
#if defined(GEKKO) || defined(__SWITCH__)
|
|
#include <stdarg.h>
|
|
#include <stddef.h>
|
|
#include <sys/cdefs.h>
|
|
#include <sys/types.h>
|
|
#include <stdlib.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#ifdef __SWITCH__
|
|
#define ftello64 ftello
|
|
#define fseeko64 fseeko
|
|
#endif
|
|
|
|
char *
|
|
realpath(const char *path, char *resolved);
|
|
int
|
|
vsnprintf (char *s, size_t n, const char *format, va_list ap);
|
|
int
|
|
snprintf(char *str, size_t n, const char *fmt, ...);
|
|
long long
|
|
strtoq(const char *nptr, char **endptr, int base);
|
|
unsigned long long
|
|
strtouq(const char *nptr, char **endptr, int base);
|
|
/* devkitppc doesn't properly declare strtof for some reason */
|
|
float
|
|
strtof(const char *string, char **endPtr );
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
#endif // GEKKO_SUPPORT_H
|