Skip site navigation (1) Skip section navigation (2)

pgcrypto BYTE_ORDER fix for stable branches

From: Marko Kreen <marko(at)l-t(dot)ee>
To: pgsql-patches(at)postgresql(dot)org
Subject: pgcrypto BYTE_ORDER fix for stable branches
Date: 2005-07-13 15:00:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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

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.


pgsql-patches by date

Next:From: Andrew DunstanDate: 2005-07-13 15:05:00
Subject: Re: [PATCHES] HEAD doesn't cope with libraries in non-default
Previous:From: Bruce MomjianDate: 2005-07-13 04:23:27
Subject: Re: Doc patch: New PL/Perl Features

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group