diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-17 20:32:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-17 20:32:55 +0200 |
commit | 0bbabe80800bd80b245b6e8b2fff4d3a908c5ded (patch) | |
tree | 66db6ba92e5df873e703f7982988985005c20fdd /src/netbeans.c | |
parent | 823a165119fccd8ace6b8d37619ef68b75ecd44f (diff) | |
download | vim-git-0bbabe80800bd80b245b6e8b2fff4d3a908c5ded.tar.gz |
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.
Diffstat (limited to 'src/netbeans.c')
-rw-r--r-- | src/netbeans.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <netdb.h> # include <netinet/in.h> # include <sys/socket.h> |