mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
Steal MSL stuff from sms and fdlibm
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
#ifndef _ERRNO_H_
|
||||
#define _ERRNO_H_
|
||||
|
||||
#define ERANGE 32
|
||||
|
||||
extern int errno;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,4 +19,6 @@
|
||||
#define LONG_MAX 2147483647
|
||||
#define ULONG_MAX 4294967295
|
||||
|
||||
#define DBL_MANT_DIG 53
|
||||
|
||||
#endif
|
||||
|
||||
+1
-21
@@ -7,27 +7,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int unk0;
|
||||
unsigned short unk4b0:7;
|
||||
unsigned short unk4b7:3;
|
||||
unsigned short unk4b10:2;
|
||||
unsigned short unk4b12:1;
|
||||
unsigned char filler6[0x14-0x6];
|
||||
int unk14;
|
||||
int unk18;
|
||||
int unk1C;
|
||||
int unk20;
|
||||
int unk24;
|
||||
int unk28;
|
||||
unsigned char filler2C[0x30-0x2C];
|
||||
int unk30;
|
||||
unsigned char filler34[0x3C-0x34];
|
||||
int (*unk3C)();
|
||||
unsigned char filler40[4];
|
||||
int unk44;
|
||||
} FILE;
|
||||
#include "MSL_C/ansi_files.h"
|
||||
|
||||
int puts(const char *s);
|
||||
int printf(const char *, ...);
|
||||
|
||||
Reference in New Issue
Block a user