From: Noah Misch Date: Mon, 13 Oct 2014 03:27:06 +0000 (-0400) Subject: Suppress dead, unportable src/port/crypt.c code. X-Git-Tag: REL9_4_RC1~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62698dae6b4fd066f8d4e4a4f0a41c3155769d3d;p=postgresql Suppress dead, unportable src/port/crypt.c code. This file used __int64, which is specific to native Windows, rather than int64. Suppress the long-unused union field of this type. Noticed on Cygwin x86_64 with -lcrypt not installed. Back-patch to 9.0 (all supported versions). --- diff --git a/src/port/crypt.c b/src/port/crypt.c index ef8bf46338..6a902ef0fc 100644 --- a/src/port/crypt.c +++ b/src/port/crypt.c @@ -87,7 +87,7 @@ static int des_cipher(const char *in, char *out, long salt, int num_iter); * define "B64" to be the declaration for a 64 bit integer. * XXX this feature is currently unused, see "endian" comment below. */ -#define B64 __int64 +/* #define B64 int64 */ /* * define "LARGEDATA" to get faster permutations, by using about 72 kilobytes