Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wUqPi-001UGw-0K for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Jun 2026 18:34:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wUqPg-002n1m-2o for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Jun 2026 18:34:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wUqPf-002n1e-2i for pgsql-hackers@lists.postgresql.org; Wed, 03 Jun 2026 18:34:00 +0000 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wUqPc-000000016GY-2Rlo for pgsql-hackers@lists.postgresql.org; Wed, 03 Jun 2026 18:33:59 +0000 Received: from phl-compute-08.internal (phl-compute-08.internal [10.202.2.48]) by mailfout.stl.internal (Postfix) with ESMTP id ED4091D000FB; Wed, 3 Jun 2026 14:33:52 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Wed, 03 Jun 2026 14:33:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1780511632; x=1780598032; bh=LqGbF3qi9w3x5Q+h8YIVVT75NDNTfbOc5js8z0D4NGI=; b= YouPuxg7UQpOHyPfqOCsYkFpr/QYIKkC8TVkDOmx92WvWHAOHqrYepABXnZt/iap ramYtVzNjdt/55n+KP9+CBRGVvWlWVsBSEjQUIJOxHLJE6doSVvhMSOFcHuS8WiG BZ7gFpI6E1mmFyPjM2JMRzcjRvBmTotCRhxp4yCUyHrTz4vOa2VzkRTWxfb8PHQ9 cl+LolNZhnYmD25PzG/uZIMPRcq+p6lg2VXlMyQ7KYRT3/Rp/Zb96N5JzHXdE9DP jPS2oguVppceuvSKZNmEgG+qqiIYGgnzZrmmhM7+wkuIt4x9xkLLIXy+eCIY40Af gkdR3KqgKdej/jlP7jRHgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1780511632; x=1780598032; bh=L qGbF3qi9w3x5Q+h8YIVVT75NDNTfbOc5js8z0D4NGI=; b=VnD7QOMRg07/zjQBd ov+k9uCw2BpOxNGdDG29pQGFpEWA2vShZMs/LmFn23pIBn2junXKf1CvSD6EOuBC ebor9X0ykHpo0TiT2/EYua2xvJlWsSttoQt+z7mqph9RhJnVqJcI4UmmKSI+aJVF PKrKapL7wuRRLf2G69ze+Ee//9+1iP2jiTj9Vny1vlYooUFWVumCBFfaGo0fa4vE eghFOS2wuV5Y+A2V5vkwLpEdlJEQhJNvhlRC7PN1wsCgMUZryb9xcczRynOgEaLY +dU9BWJoN7tu37KnjjuLNJAqLiUeOvXCnc7iGU/vzegm2Pt+LR1t1LgMbh0F+4xw yduxQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTEwWxnZZv2sBaU7fmwhcQmQPTVUj1OflhSWvrugdKFszvflLsMVdkcj+ve3xRllOw mo10Z5a6Hvg+K3dTTeJV2pcf6696z1O2/lbWNwHTM0+fsj8YE2X1rLIT3ADNErkO9ugDxL GyGB9uZgAgQ9VRLNrCVQebwnqW8rAB9TuNuopMyQbtX4Y4DV2GlCfEIvXz4Fo6CpRVy7hv Dol8UjUWR1nHIV8PJElJEeaiJc8nfmSGivpQaxPsQQnRu3UcqCrejfF+EeWzfcA56kfCYf HCbEUPKiloL8r9FOgicXcWq6WLYikSeOhr5RJpZ60ad/vppyNx9rY7lOcSn56VMdIv4BAc 71pTjZRpwmPTNY1kmwtLPEFTDCkxT5nUKxq1RyBgXmDPrTc1yy0yd85pMj4xhFbDFAtJlx cVG++8zHj0+/vQUPSWA+nwydkhGLprNzDhPn9lwdg9lcEtt57dnRNh5l+uA6FxXZjVjEf1 dd6Tnu+v5vK4b1jNMkFk3K/MU9hoBnmzZP1CIrMntPOxlu3shXKZxIKUK861bnj9/OqvwI O9yuM4HrxfQFeI90oFWBNni0xUma193MF/Fn+zqRJ6Lf3g0SUGciJk9vA8SPzO1nTFrivN G8wu8MILrk6+ZimWZLs0Apd6WAC7WIgl2a2K+hOHwAdItaTdkQ68lvk1sfEA X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Jun 2026 14:33:51 -0400 (EDT) Message-ID: <2d70e27e-e9e0-417f-94fa-8ecc07c6e578@eisentraut.org> Date: Wed, 3 Jun 2026 20:33:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Does MSVC predefine __x86_64__ on 64-bit Intel? To: Tom Lane , pgsql-hackers@lists.postgresql.org References: <3035145.1780503430@sss.pgh.pa.us> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <3035145.1780503430@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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.