|
@@ -89,7 +89,7 @@ var
|
|
|
|
|
|
function BADDR(bval: LongInt): Pointer; Inline;
|
|
|
begin
|
|
|
- {$if defined(AROS) and (not defined(AROS_FLAVOUR_BINCOMPAT))}
|
|
|
+ {$if defined(AROS)} // deactivated for now //and (not defined(AROS_FLAVOUR_BINCOMPAT))}
|
|
|
BADDR := Pointer(bval);
|
|
|
{$else}
|
|
|
BADDR:=Pointer(bval Shl 2);
|
|
@@ -98,7 +98,7 @@ end;
|
|
|
|
|
|
function BSTR2STRING(s : Pointer): PChar; Inline;
|
|
|
begin
|
|
|
- {$if defined(AROS) and (not defined(AROS_FLAVOUR_BINCOMPAT))}
|
|
|
+ {$if defined(AROS)} // deactivated for now //and (not defined(AROS_FLAVOUR_BINCOMPAT))}
|
|
|
BSTR2STRING:=PChar(s);
|
|
|
{$else}
|
|
|
BSTR2STRING:=PChar(BADDR(PtrInt(s)))+1;
|
|
@@ -107,7 +107,7 @@ end;
|
|
|
|
|
|
function BSTR2STRING(s : LongInt): PChar; Inline;
|
|
|
begin
|
|
|
- {$if defined(AROS) and (not defined(AROS_FLAVOUR_BINCOMPAT))}
|
|
|
+ {$if defined(AROS)} // deactivated for now //and (not defined(AROS_FLAVOUR_BINCOMPAT))}
|
|
|
BSTR2STRING:=PChar(s);
|
|
|
{$else}
|
|
|
BSTR2STRING:=PChar(BADDR(s))+1;
|