]> rtime.felk.cvut.cz Git - can-usb1.git/blob - ulan/host/libs4c/ulut/ul_utmalloc.h
Initializing repo
[can-usb1.git] / ulan / host / libs4c / ulut / ul_utmalloc.h
1 #ifndef _UL_UTMALLOC_H
2 #define _UL_UTMALLOC_H
3
4 #if !defined(__RTL__)&&!defined(__KERNEL__)
5
6 #include <malloc.h>
7
8 #else /*__RTL__ or __KERNEL__*/
9
10 #ifdef UL_WITH_RTL_MALLOC
11 #include <rtl_malloc.h>
12 #define malloc    rt_malloc
13 #define free      rt_free
14 #define realloc   rt_realloc
15 #endif /*UL_WITH_RTL_MALLOC*/
16
17 #endif /*__RTL__ or __KERNEL__*/
18
19 #endif /*_UL_UTMALLOC_H*/