Re: Does MSVC predefine __x86_64__ on 64-bit Intel? - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Does MSVC predefine __x86_64__ on 64-bit Intel?
Date
Msg-id aiB4uPTtsQfpdLA6@nathan
Whole thread
In response to Re: Does MSVC predefine __x86_64__ on 64-bit Intel?  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On Wed, Jun 03, 2026 at 08:33:50PM +0200, Peter Eisentraut wrote:
> 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.

Some related threads:

    https://postgr.es/m/flat/afouZUH_eUkIj4i4%40nathan
    https://postgr.es/m/flat/CA%2BhUKGL8Hs-phHPugrWM%3D5dAkcT897rXyazYzLw-Szxnzgx-rA%40mail.gmail.com

-- 
nathan



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: Heads Up: cirrus-ci is shutting down June 1st
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: PostgreSQL 19 Beta 1 release announcement draft