aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2014-10-12 23:27:06 -0400
committerNoah Misch <noah@leadboat.com>2014-10-12 23:27:06 -0400
commit772945b4dfb6cc7354e79e23e2552d2d3712d5a1 (patch)
treea91eb2ae742bacfe0fd23e14dbb4d6d1e89c2b3a /src
parenta0fb59d8bd7711fb8f08a4371074f07c62617d78 (diff)
downloadpostgresql-772945b4dfb6cc7354e79e23e2552d2d3712d5a1.tar.gz
postgresql-772945b4dfb6cc7354e79e23e2552d2d3712d5a1.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.c2
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