mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
Replace UINT32_T by uint32_t
This commit is contained in:

committed by
Thiago de Arruda

parent
8b498d94d8
commit
d38b6933e2
17
src/vim.h
17
src/vim.h
@@ -41,19 +41,6 @@ Error: configure did not run properly.Check auto/config.log.
|
||||
* doesn't work well and avoiding it keeps the binary backward compatible.
|
||||
*/
|
||||
|
||||
/* We may need to define the uint32_t on non-Unix system, but using the same
|
||||
* identifier causes conflicts. Therefore use UINT32_T. */
|
||||
# define UINT32_TYPEDEF uint32_t
|
||||
#endif
|
||||
|
||||
#if !defined(UINT32_TYPEDEF)
|
||||
# if defined(uint32_t) /* this doesn't catch typedefs, unfortunately */
|
||||
# define UINT32_TYPEDEF uint32_t
|
||||
# else
|
||||
/* Fall back to assuming unsigned int is 32 bit. If this is wrong then the
|
||||
* test in blowfish.c will fail. */
|
||||
# define UINT32_TYPEDEF unsigned int
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* user ID of root is usually zero, but not for everybody */
|
||||
@@ -937,10 +924,6 @@ typedef enum {
|
||||
|
||||
#define MAYBE 2 /* sometimes used for a variant on TRUE */
|
||||
|
||||
#ifndef UINT32_T
|
||||
typedef UINT32_TYPEDEF UINT32_T;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Operator IDs; The order must correspond to opchars[] in ops.c!
|
||||
*/
|
||||
|
Reference in New Issue
Block a user