Hello Michael,

The patch looks entirely reasonable to me (or in any case not any less
reasonable than the code that is already there), but I don't have the full
context so I'll wait a few days before applying it so that other people can
speak their mind if they have objections.

Thanks,

Aleksander

On Thu, Apr 12, 2012 at 12:58 AM, Michael Evdokimov <[email protected]
> wrote:

> Hello!
>
> Please consider applying this patch.
> Otherwise we don't have long int for 32-bit arch.
>
> diff --git a/src/core/exchange-traits.h b/src/core/exchange-traits.h
> index 90314d9..81ecec4 100644
> --- a/src/core/exchange-traits.h
> +++ b/src/core/exchange-traits.h
> @@ -90,6 +90,13 @@ struct exchange_traits<long int>
>      typedef basic_type_tag type_family;
>      enum { x_type = x_long_long };
>  };
> +#elif ( __WORDSIZE == 32 )
> +template <>
> +struct exchange_traits<long int>
> +{
> +    typedef basic_type_tag type_family;
> +    enum { x_type = x_integer };
> +};
>  #endif // #if defined (__LP64__) || ( __WORDSIZE == 64 )
>
>  template <>
>
> --
> Best regards, Michael Evdokimov
> Network Solutions, Moscow, Russia, Office: +7-495-7950677, Mobile:
> +7-963-6054013
> Web: www.lanbilling.ru, www.lanbilling.tv, www.helpdesk2.ru
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to