+ {$IF CompilerVersion >= 20.0}\r
+ { Delphi 2009/2010 widestring is the default string type }\r
+ thostname = ansistring;\r
+ tbufferstring = ansistring;\r
+ tipstring = ansistring;\r
+ {$else}\r
+ { Old pre-unicode delphi, todo: need to check if ansistring is available\r
+ in all older versions of delphi }\r
+ thostname = string;\r
+ tbufferstring = string;\r
+ tipstring = string;\r
+ {$ifend}\r
+\r