pgcrypto BYTE_ORDER fix for stable branches

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема pgcrypto BYTE_ORDER fix for stable branches
Дата
Msg-id 20050713150018.GA29867@l-t.ee
обсуждение исходный текст
Список pgsql-patches
Recently was uncovered that pgcrypto does not include
right header file to get BYTE_ORDER define on Cygwin
and MINGW, and the missing define does not result in
build failures, but random combinations of little and
big-endian code sections.

This patch adds missing sys/param.h include for md5.c,
sha1.c and rijndael.c plus also check to catch undefined
BYTE_ORDER.

The patch applies cleanly and is tested on branches
for versions 7.2, 7.3, 7.4 and 8.0.  There are also
no failures on buildfarm for HEAD, where this patch
is already included.

--
marko


Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [DOCS] Doc patch: New PL/Perl Features
Следующее
От: Simon Riggs
Дата:
Сообщение: Final cleanup of SQL:1999 references