mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00:00
move locale.h include out of vim.h
This commit is contained in:

committed by
Nicolas Hillegeer

parent
82b71a3056
commit
b18ca14ef8
@@ -17,6 +17,9 @@
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/ascii.h"
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
#endif
|
||||
#include "nvim/eval.h"
|
||||
#include "nvim/buffer.h"
|
||||
#include "nvim/charset.h"
|
||||
|
@@ -15,6 +15,9 @@
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/ascii.h"
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
#endif
|
||||
#include "nvim/version_defs.h"
|
||||
#include "nvim/ex_cmds2.h"
|
||||
#include "nvim/buffer.h"
|
||||
|
@@ -14,6 +14,9 @@
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/ascii.h"
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
#endif
|
||||
#include "nvim/version_defs.h"
|
||||
#include "nvim/hardcopy.h"
|
||||
#include "nvim/buffer.h"
|
||||
|
@@ -25,6 +25,9 @@
|
||||
#include "nvim/getchar.h"
|
||||
#include "nvim/hashtab.h"
|
||||
#include "nvim/if_cscope.h"
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
#endif
|
||||
#include "nvim/mark.h"
|
||||
#include "nvim/mbyte.h"
|
||||
#include "nvim/memline.h"
|
||||
|
@@ -77,10 +77,13 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
# include <wchar.h>
|
||||
#include <wchar.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/ascii.h"
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
#endif
|
||||
#include "nvim/mbyte.h"
|
||||
#include "nvim/charset.h"
|
||||
#include "nvim/cursor.h"
|
||||
@@ -99,7 +102,7 @@
|
||||
#include "nvim/os/os.h"
|
||||
#include "nvim/arabic.h"
|
||||
|
||||
# define WINBYTE BYTE
|
||||
#define WINBYTE BYTE
|
||||
|
||||
typedef struct {
|
||||
int rangeStart;
|
||||
|
@@ -44,10 +44,6 @@ Error: configure did not run properly.Check auto/config.log.
|
||||
|
||||
#include "nvim/os_unix_defs.h" /* bring lots of system header files */
|
||||
|
||||
# ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
# endif
|
||||
|
||||
/*
|
||||
* Maximum length of a path (for non-unix systems) Make it a bit long, to stay
|
||||
* on the safe side. But not too long to put on the stack.
|
||||
|
Reference in New Issue
Block a user