mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 12:49:12 +02:00
* fix PString
This commit is contained in:
parent
96c83e7f39
commit
7edf9b3884
@ -12,12 +12,12 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
**********************************************************************}
|
||||
unit objpas;
|
||||
{$Mode ObjFpc}
|
||||
{$I-}
|
||||
{$ifndef Unix}
|
||||
{$S-}
|
||||
{$endif}
|
||||
unit objpas;
|
||||
|
||||
interface
|
||||
|
||||
@ -37,7 +37,11 @@ interface
|
||||
{$endif CPU16}
|
||||
|
||||
{ Ansistring are the default }
|
||||
{$IF SIZEOF(Char)=2}
|
||||
PString = PWideString;
|
||||
{$ELSE}
|
||||
PString = PAnsiString;
|
||||
{$ENDIF}
|
||||
|
||||
{ array types }
|
||||
{$ifdef CPU16}
|
||||
|
Loading…
Reference in New Issue
Block a user