From e0913da3b95ef58d463d59718f9e52436c9bb411 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 8 Nov 2016 10:13:10 -0600 Subject: [PATCH] wwww --- src/lib/doslib | 2 +- src/lib/types.h | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/lib/doslib b/src/lib/doslib index 5f204b4c..d67badfa 160000 --- a/src/lib/doslib +++ b/src/lib/doslib @@ -1 +1 @@ -Subproject commit 5f204b4c63596375fe4c04c6ea6220fab7116f82 +Subproject commit d67badfa5b5a007a9dff2c7ced3467f8a45d5f3f diff --git a/src/lib/types.h b/src/lib/types.h index 884aaea9..093b38da 100755 --- a/src/lib/types.h +++ b/src/lib/types.h @@ -48,15 +48,17 @@ memptr should be replaced by memseg in code. on usage where you need pointer convert memseg type (segment) to far pointer by MK_FP(segment value, 0)*/ #ifdef __WATCOMC__ -typedef void __based( void ) * memptr; ////old //----typedef void __based(__self) * memptr; -typedef unsigned short _seg; // it will contains segment value (as Borland _seg) +//typedef unsigned short _seg; // it will contains segment value (as Borland _seg) +#define _seg __based( void ) #define __SEGA __segment #endif #ifdef __BORLANDC__ -typedef void _seg * memptr; +//typedef void _seg * memptr; #define __SEGA _seg #endif +typedef void _seg * memptr;//typedef void __based( void ) * memptr; ////old //----typedef void __based(__self) * memptr; + #define _argv __argv #define _argc __argc -- 2.39.5