Procházet zdrojové kódy

* Use cwstring on non-windows

git-svn-id: trunk@41811 -
michael před 6 roky
rodič
revize
afa9ef279e
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  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