]> git.ipfire.org Git - thirdparty/postgresql.git/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:36 +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 b138be6fb56f33bd0e3a247fa807d02d3362daef..3c50638acc321c3c1883d39507816d9a0a25bed0 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