postgres.git / summary / log / commit / refs
commit b4d45f07769beb569c494b11b2ae0dfe4c24f783
Author: Noah Misch <noah@leadboat.com>
Date: Mon Oct 13 03:27:06 2014 +0000
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).
src/port/crypt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
[parent: f6bb48f8bfe2]