* patch by Serg Bormant: fix fmShareCompat handling for win32/win64/nativent, resolves #23725

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