Re: Does MSVC predefine __x86_64__ on 64-bit Intel?

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Does MSVC predefine __x86_64__ on 64-bit Intel?
Date: 2026-06-03 18:33:50
Message-ID: 2d70e27e-e9e0-417f-94fa-8ecc07c6e578@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03.06.26 18:17, Tom Lane wrote:
> Not being a Windows person, I can't easily answer these
> questions by experiment. But I think they need answering
> (and then documenting).

This can be tested on https://godbolt.org/. My testing there suggests
that neither __x86_64__ nor __x86_64 are defined.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2026-06-03 18:34:41 Re: Heads Up: cirrus-ci is shutting down June 1st
Previous Message Daniil Davydov 2026-06-03 18:33:06 Re: BUG with accessing to temporary tables of other sessions still exists