Trying to return the same value in Win32 and Linux.