mescc: Add proper includes.
* include/libmes.h (__mes_debug): Declare. * lib/libtcc1.c: Add proper includes. * lib/linux+gnu.c: Likewise. * lib/m4.c: Likewise.
This commit is contained in:
parent
57cb608b6a
commit
58ca3ab6c0
|
@ -21,6 +21,7 @@
|
||||||
#ifndef __MES_LIBMES_H
|
#ifndef __MES_LIBMES_H
|
||||||
#define __MES_LIBMES_H
|
#define __MES_LIBMES_H
|
||||||
|
|
||||||
|
int __mes_debug ();
|
||||||
char const* number_to_ascii (int number, int base, int signed_p);
|
char const* number_to_ascii (int number, int base, int signed_p);
|
||||||
char const* itoa (int number);
|
char const* itoa (int number);
|
||||||
char const* utoa (unsigned number);
|
char const* utoa (unsigned number);
|
||||||
|
|
|
@ -32,7 +32,7 @@ isdigit (int c)
|
||||||
int
|
int
|
||||||
isxdigit (int c)
|
isxdigit (int c)
|
||||||
{
|
{
|
||||||
return isdigit (c) || c >= 'a' && c <= 'f';
|
return isdigit (c) || (c >= 'a' && c <= 'f');
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* along with Mes. If not, see <http://www.gnu.org/licenses/>.
|
* along with Mes. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <libmes.h>
|
||||||
|
|
||||||
double
|
double
|
||||||
__divdi3 (double a, double b)
|
__divdi3 (double a, double b)
|
||||||
{
|
{
|
||||||
|
@ -112,15 +114,13 @@ __fixunsxfdi (double a1)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __TINYC__ == 9227
|
|
||||||
int
|
|
||||||
#if __TINYC__ == 9226
|
#if __TINYC__ == 9226
|
||||||
long
|
long
|
||||||
#else
|
#elif __TINYC__
|
||||||
long long
|
|
||||||
int
|
int
|
||||||
#endif // __TINYC__ == 9226
|
#else // !__TINYCC_
|
||||||
#endif // __TINYC__ == 9227
|
long long
|
||||||
|
#endif // !__TINYCC_
|
||||||
__fixdfdi (double a1)
|
__fixdfdi (double a1)
|
||||||
{
|
{
|
||||||
static int stub = 0;
|
static int stub = 0;
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
#define SYS_fstat 0x6c
|
#define SYS_fstat 0x6c
|
||||||
#define SYS_nanosleep 0xa2
|
#define SYS_nanosleep 0xa2
|
||||||
|
|
||||||
|
#include <sys/resource.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
link (char const *old_name, char const *new_name)
|
link (char const *old_name, char const *new_name)
|
||||||
|
|
Loading…
Reference in a new issue