This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Libiberty]: Handle VMS as a LLP64 platform in splay-tree.h


Tristan Gingold <gingold@adacore.com> writes:

> include/
> 2012-04-04  Tristan Gingold  <gingold@adacore.com>
>
> 	* splay-tree.h: Use LLP64 definitions of libi_shostptr_t and
> 	libi_hostptr_t for VMS with 64bit pointers.

I was strongly opposed to adding a _WIN64 define here and this is just
making it worse.

Ian


> --- a/include/splay-tree.h
> +++ b/include/splay-tree.h
> @@ -37,7 +37,8 @@ extern "C" {
>  
>  #include "ansidecl.h"
>  
> -#ifndef _WIN64
> +#if !(defined (_WIN64) \
> +      || (defined (__VMS__) && __INITIAL_POINTER_SIZE == 64))
>    typedef unsigned long int libi_uhostptr_t;
>    typedef long int libi_shostptr_t;
>  #else


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]