blob: bec4b3a1d5b225da8701f4b8966b951ed5776dbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
** void _far *BigMalloc(unsigned long num_elem, size_t size_elem)
*/
#ifdef MSDOS
#if defined(__TURBOC__) || defined(__ZTC__)
#ifdef __TURBOC__
#define _far far
#endif
#define BigMalloc(i,n) (void _far *)farmalloc(i*n)
#else /* MSC, Watcom */
#define BigMalloc(i,n) (void _far *)halloc(i,n)
#else
#define BigMalloc(i,n) malloc(i*n)
#endif
|