Added some platform changes for uMon
git-svn-id: http://picoc.googlecode.com/svn/trunk@400 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
1d32e04c48
commit
84d2c663e8
|
@ -115,6 +115,10 @@ extern jmp_buf ExitBuf;
|
|||
# include <math.h>
|
||||
# include "monlib.h"
|
||||
# define assert(x)
|
||||
# define malloc mon_malloc
|
||||
# define calloc(a,b) mon_malloc(a*b)
|
||||
# define realloc mon_realloc
|
||||
# define free mon_free
|
||||
# undef PlatformSetExitPoint
|
||||
# define PlatformSetExitPoint()
|
||||
# endif
|
||||
|
|
Loading…
Reference in a new issue