ソースを参照

* Use cwstring on non-windows

git-svn-id: trunk@41811 -
michael 6 年 前
コミット
afa9ef279e
1 ファイル変更5 行追加0 行削除
  1. 5 0
      packages/fcl-registry/examples/testunicode.pp

+ 5 - 0
packages/fcl-registry/examples/testunicode.pp

@@ -1,11 +1,16 @@
 program testunicode;
 
+{ Unicode test program using UTF8String }
+
 {$mode objfpc}{$H+}
 {$codepage utf8}
 {$IFNDEF UNIX}
 {$APPTYPE CONSOLE}
 {$ENDIF}
 uses
+{$ifdef unix}
+  cwstring,
+{$endif}
   sysutils, classes, registry;
 
 Var