X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Flib%2F16_t.h;h=764bf51e7d5387e979d18d8dc36eaa5a50ad0eb2;hp=ce881ae877ed7e658d7d5ec6496f328c190f3d53;hb=3bcd7fdc88a1ae0a536e7631b50719ae7b320d4b;hpb=256be2f6f35912701d3e3770e49e388f462a6acc diff --git a/src/lib/16_t.h b/src/lib/16_t.h index ce881ae8..764bf51e 100755 --- a/src/lib/16_t.h +++ b/src/lib/16_t.h @@ -65,9 +65,28 @@ MK_FP(segment value, 0)*/ typedef void _seg * memptr; -#define MEMPTR (memptr *)&//old is &(memptr) +#define MEMPTRCONV (memptr *)& +//bcc +#ifdef __BORLANDC__ +#define MEMPTRANDPERCONV & +//#define BYTEFARPTRCONV (unsigned char far *) +//#define SMDPTRANDPERCONV & +//#define SDFPTRANDPERCONV & +//#define OBTPTRANDPERCONV & +//#define SDTPTRANDPERCONV & +#endif +// + +//wcc #ifdef __WATCOMC__ //functions found in borland c but not watcom c +#define MEMPTRANDPERCONV +//#define BYTEFARPTRCONV +//#define SMDPTRANDPERCONV (void *)& +//#define SDFPTRANDPERCONV (struct diskfree_t *)& +//#define OBTPTRANDPERCONV (void const *)& +//#define SDTPTRANDPERCONV (struct dostime_t *)& + #define _argv __argv #define _argc __argc #define geninterrupt(n) int86(n,&CPURegs,&CPURegs);