diff options
author | Noah Misch <noah@leadboat.com> | 2014-10-12 23:27:06 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2014-10-12 23:27:21 -0400 |
commit | 69e29b17eca1954ece32638a5e7740a1de25a244 (patch) | |
tree | 73bfb0656f53ead8d4daf47066d4eea1bfb5a614 /src | |
parent | 090ad74b00e023ba8af10cc3376b3e5a415de2e7 (diff) | |
download | postgresql-69e29b17eca1954ece32638a5e7740a1de25a244.tar.gz postgresql-69e29b17eca1954ece32638a5e7740a1de25a244.zip |
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).
Diffstat (limited to 'src')
-rw-r--r-- | src/port/crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/crypt.c b/src/port/crypt.c index ef8bf46338d..6a902ef0fcc 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 |