]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix universal builds on MacOS
authorJohn Naylor <john.naylor@postgresql.org>
Fri, 8 May 2026 09:44:25 +0000 (16:44 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Fri, 8 May 2026 09:44:25 +0000 (16:44 +0700)
commit901ed9b352b41f034e17bc540725082a488fce31
treedbdb6b4849e0e0b8926ce7d208ed1c177aaa6fd9
parent9d124a14b3d4803afee5efc4f794dfb72016cb88
Fix universal builds on MacOS

Commit 16743db06 assumed that the CPUID instruction was always
available when the usual x86 symbols were defined. That is not the
case, so zero out the info rather than error out.

Reported-by: Jakob Egger <jakob@eggerapps.at>
Reported-by: Tobias Bussmann <t.bussmann@gmx.net>
Suggested-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/223EA201-A0E8-4A13-B220-EB903E8DF817@eggerapps.at
src/port/pg_cpu_x86.c