瀏覽代碼

* 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