mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
Remove #ifdefs TEMPDIRNAMES and add TEMPDIRNAMES for Windows
Vim does not define TEMPDIRNAMES for all systems, but it is defined for all systems supported by Neovim. Temporary directory names for Windows was obtained from GetTempPath() function documentation at MSDN. Additionally small renamings were performed.
This commit is contained in:

committed by
Nicolas Hillegeer

parent
ed10eb6fa9
commit
edd7a8c5dd
@@ -7,10 +7,17 @@
|
||||
#include "nvim/os/fs_defs.h"
|
||||
#include "nvim/vim.h"
|
||||
|
||||
#ifdef WIN32
|
||||
# include "nvim/os/win_defs.h"
|
||||
#else
|
||||
# include "nvim/os/unix_defs.h"
|
||||
#endif
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "os/fs.h.generated.h"
|
||||
# include "os/mem.h.generated.h"
|
||||
# include "os/env.h.generated.h"
|
||||
# include "os/users.h.generated.h"
|
||||
#endif
|
||||
|
||||
#endif // NVIM_OS_OS_H
|
||||
|
Reference in New Issue
Block a user