Mathematical functions are added some.

It is added makefile for compilation of programs under KolibriOS with the help gcc.

git-svn-id: svn://kolibrios.org@696 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
andrew_programmer
2008-01-14 19:33:34 +00:00
parent 606f0073f5
commit 48ecbd9104
15 changed files with 331 additions and 9 deletions

View File

@@ -2,6 +2,8 @@
#define stdlib_h
#include "kolibrisys.h"
#define RAND_MAX 65535
//#define isspace(c) ((c)==' ')
#define abs(i) (((i)<0)?(-(i)):(i))
@@ -15,4 +17,8 @@ extern void itoa(int n,char* s);
extern void* stdcall malloc(dword size);
extern void stdcall free(void *pointer);
extern void* stdcall realloc(void* pointer,dword size);
extern int rand (void);
extern void srand (unsigned int seed);
#endif