mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 06:48:17 +00:00
Include <stdint.h> in types.h
This commit is contained in:

committed by
Thiago de Arruda

parent
7740bdecea
commit
8b498d94d8
@@ -9,6 +9,8 @@
|
|||||||
#ifndef NEOVIM_TYPES_H
|
#ifndef NEOVIM_TYPES_H
|
||||||
#define NEOVIM_TYPES_H
|
#define NEOVIM_TYPES_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Shorthand for unsigned variables. Many systems, but not all, have u_char
|
* Shorthand for unsigned variables. Many systems, but not all, have u_char
|
||||||
* already defined, so we use char_u to avoid trouble.
|
* already defined, so we use char_u to avoid trouble.
|
||||||
|
@@ -149,9 +149,6 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#ifdef HAVE_STDINT_H
|
|
||||||
# include <stdint.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_INTTYPES_H
|
#ifdef HAVE_INTTYPES_H
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user