mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 18:49:15 +02:00
Add fpwidestring and unicodeducet in uses clause for go32v2 target
git-svn-id: trunk@38738 -
This commit is contained in:
parent
1b91d17684
commit
e742588f8a
@ -1,7 +1,18 @@
|
|||||||
{$ifdef unix}
|
{$ifdef go32v2}
|
||||||
|
{$define USE_FPWIDESTRING_UNIT}
|
||||||
|
{$define USE_UNICODEDUCET_UNIT}
|
||||||
|
{$endif}
|
||||||
uses
|
uses
|
||||||
|
{$ifdef unix}
|
||||||
{$ifdef darwin}iosxwstr{$else}cwstring{$endif};
|
{$ifdef darwin}iosxwstr{$else}cwstring{$endif};
|
||||||
{$endif unix}
|
{$endif}
|
||||||
|
{$ifdef USE_FPWIDESTRING_UNIT}
|
||||||
|
fpwidestring,
|
||||||
|
{$endif}
|
||||||
|
{$ifdef USE_UNICODEDUCET_UNIT}
|
||||||
|
unicodeducet;
|
||||||
|
{$endif}
|
||||||
|
|
||||||
|
|
||||||
var
|
var
|
||||||
w : widestring;
|
w : widestring;
|
||||||
|
@ -1,7 +1,17 @@
|
|||||||
{$ifdef UNIX}
|
{$ifdef go32v2}
|
||||||
|
{$define USE_FPWIDESTRING_UNIT}
|
||||||
|
{$define USE_UNICODEDUCET_UNIT}
|
||||||
|
{$endif}
|
||||||
uses
|
uses
|
||||||
|
{$ifdef unix}
|
||||||
{$ifdef darwin}iosxwstr{$else}cwstring{$endif};
|
{$ifdef darwin}iosxwstr{$else}cwstring{$endif};
|
||||||
{$endif UNIX}
|
{$endif}
|
||||||
|
{$ifdef USE_FPWIDESTRING_UNIT}
|
||||||
|
fpwidestring,
|
||||||
|
{$endif}
|
||||||
|
{$ifdef USE_UNICODEDUCET_UNIT}
|
||||||
|
unicodeducet;
|
||||||
|
{$endif}
|
||||||
|
|
||||||
var
|
var
|
||||||
i : longint;
|
i : longint;
|
||||||
|
@ -3,9 +3,19 @@
|
|||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
{$endif fpc}
|
{$endif fpc}
|
||||||
|
|
||||||
|
{$ifdef go32v2}
|
||||||
|
{$define USE_FPWIDESTRING_UNIT}
|
||||||
|
{$define USE_UNICODEDUCET_UNIT}
|
||||||
|
{$endif}
|
||||||
uses
|
uses
|
||||||
{$ifdef unix}
|
{$ifdef unix}
|
||||||
cthreads, {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
|
{$ifdef darwin}iosxwstr{$else}cwstring{$endif},
|
||||||
|
{$endif}
|
||||||
|
{$ifdef USE_FPWIDESTRING_UNIT}
|
||||||
|
fpwidestring,
|
||||||
|
{$endif}
|
||||||
|
{$ifdef USE_UNICODEDUCET_UNIT}
|
||||||
|
unicodeducet,
|
||||||
{$endif}
|
{$endif}
|
||||||
Classes, SysUtils;
|
Classes, SysUtils;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user