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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user