* add boolean that can be changed to avoid shutting down winsock. This can trouble other DLLs. Mantis #22597


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24446 3ad0048d-3df7-0310-abae-a5850022a9f2
 * some {$ifdef unicode} added. + FPC_OS_UNICODE shebang.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24447 3ad0048d-3df7-0310-abae-a5850022a9f2
 * parts of #23953 done. Deprecation of old shlobj structures that are still in unit windows. However shlobj first needs to honour ifdef unicode. It currently
    only supports -A and -W variants, and not the suffixless aliases.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24448 3ad0048d-3df7-0310-abae-a5850022a9f2
 * corrections from Mantis #20194. 
     - tbitmapheader is not a redef, from redef -> struct
     - some -A types had char types that were $ifdef unicode dependent. Fixed.
     - some -A types had char types in numeric form (bchar), where Delphi
	uses Pascal char types (ansichar)  


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24449 3ad0048d-3df7-0310-abae-a5850022a9f2
 * set tchar to ansichar if ifndef unicode. Probably doesn't matter, since but
   reads cleaner.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24450 3ad0048d-3df7-0310-abae-a5850022a9f2