]> granicus.if.org Git - postgresql/commitdiff
Suppress dead, unportable src/port/crypt.c code.
authorNoah Misch <noah@leadboat.com>
Mon, 13 Oct 2014 03:27:06 +0000 (23:27 -0400)
committerNoah Misch <noah@leadboat.com>
Mon, 13 Oct 2014 03:27:17 +0000 (23:27 -0400)
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

index ef8bf46338d1995e9451e5841b042815e6321d2f..6a902ef0fcce3bfaea29ae8ea9c1e20767aaeb56 100644 (file)
@@ -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