瀏覽代碼

* fix win32

git-svn-id: trunk@3851 -
peter 19 年之前
父節點
當前提交
16411cda22
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      rtl/inc/wstrings.inc

+ 2 - 0
rtl/inc/wstrings.inc

@@ -160,7 +160,9 @@ begin
       If P<>Nil then
         begin
          PWideRec(P)^.Len:=Len*2;     { Initial length }
+{$ifndef FPC_WINLIKEWIDESTRING}
          PWideRec(P)^.Ref:=1;         { Initial Refcount }
+{$endif FPC_WINLIKEWIDESTRING}
          PWideRec(P)^.First:=#0;      { Terminating #0 }
          inc(p,WideFirstOff);         { Points to string now }
         end