From 0bbabe80800bd80b245b6e8b2fff4d3a908c5ded Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 17 May 2010 20:32:55 +0200 Subject: Fixed encryption big/little endian test. Use uint32_t to avoid crash on 64 bit machines. Added error numbers for Blowfish errors. Fixed the tiny version not building. --- src/netbeans.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/netbeans.c') diff --git a/src/netbeans.c b/src/netbeans.c index 93a9aea75..0ef6b6904 100644 --- a/src/netbeans.c +++ b/src/netbeans.c @@ -43,6 +43,11 @@ # define sock_close(sd) closesocket(sd) # define sleep(t) Sleep(t*1000) /* WinAPI Sleep() accepts milliseconds */ #else + /* uint32_t may be defined by configure, but netdb.h indirectly includes + * stdint.h which tries to typedef uint32_t and fails. */ +# ifdef uint32_t +# undef uint32_t +# endif # include # include # include -- cgit v1.2.1