[Libreoffice] Updated [Patch] new BITxxx functions for ODF 1.2

Eike Rathke ooo at erack.de
Wed Sep 7 07:37:02 PDT 2011


Hi Regina,

On Wednesday, 2011-09-07 15:04:47 +0200, Regina Henschel wrote:

> I see a lot of sal_uInt64 in the code. Is that supported for
> Windows? As far as I know at least the MSVC Express has only 4Byte
> long.

Umm.. now that you mention.. sal/inc/sal/types.h has

#if (_MSC_VER >= 1000)
    typedef __int64                  sal_Int64;
    typedef unsigned __int64         sal_uInt64;

so what evaluates _MSC_VER to in MSVCE?

Also noticing there

    #define SAL_CONST_UINT64(x)      x##ui64

so the constant I introduced probably should use that.

If MSVCE doesn't support 64bit values I might do some tricks using the
double mantissa.

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110907/4f9eb219/attachment-0001.pgp>


More information about the LibreOffice mailing list