0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

Use UINT32_T in the code, define it to uint32_t or unsigned int.

Better autoconf check for uint32_t.
This commit is contained in:
Bram Moolenaar
2010-05-19 21:57:45 +02:00
parent b702c84d0d
commit fa7584cb86
9 changed files with 146 additions and 75 deletions

View File

@@ -43,12 +43,6 @@
# 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
# undef __uint32_t_defined
# endif
# include <netdb.h>
# include <netinet/in.h>
# include <sys/socket.h>