Re: Compile error on the aarch64 platform: Missing asm/hwcap.h

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compile error on the aarch64 platform: Missing asm/hwcap.h
Дата
Msg-id 958335.1763411497@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Compile error on the aarch64 platform: Missing asm/hwcap.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Compile error on the aarch64 platform: Missing asm/hwcap.h
Список pgsql-hackers
I wrote:
> ... I'm inclined to think
> it's better to do something like

> +#if defined(__linux__) && (defined(__aarch64__) ? !defined(HWCAP_CRC32) : !defined(HWCAP2_CRC32))

> or perhaps that's too unreadable and we should break it out into
> multiple #if's.

I tried it as a nest of #ifdef's and decided that was none too
readable either, so pushed it as above.  Thanks for the report!

            regards, tom lane



В списке pgsql-hackers по дате отправления: