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=adb425e17c32e33e71670dd69c909717f1d65acb;hpb=28b1be191222717943878f024cddac30b026318e 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);