Re: [fpc-pascal] UNICODE define

2016-06-29 Thread Jonas Maebe
On 29/06/16 20:16, LacaK wrote: But before I have asked here, I have searched RTL sources and I found many times lines like this: {$ifdef FPC_OS_UNICODE} {$define UNICODE} {$endif} And this lead me to confusion, if UNICODE is really compiler define or not as far as UNICODE is defined repeated

Re: [fpc-pascal] UNICODE define

2016-06-29 Thread LacaK
>> can I rely on >>http://wiki.freepascal.org/User_Changes_3.0#UNICODE_define_depends_on_default_string_type_instead_of_on_target_platform that UNICODE is defined just when String=UnicodeString and not >>defined in all other cases ?> > That's literally what that text says, yes. What is missing

Re: [fpc-pascal] UNICODE define

2016-06-29 Thread Jonas Maebe
LacaK wrote on Wed, 29 Jun 2016: can I rely on http://wiki.freepascal.org/User_Changes_3.0#UNICODE_define_depends_on_default_string_type_instead_of_on_target_platform that UNICODE is defined just when String=UnicodeString and not defined in all other cases ? That's literally what that te