comparison src/os_amiga.h @ 18178:a3ddd35ee6d4 v8.1.2084

patch 8.1.2084: Amiga: cannot get the user name Commit: https://github.com/vim/vim/commit/5e8e967f25085de78d7826fe5a6bebbace1c6823 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 27 13:38:56 2019 +0200 patch 8.1.2084: Amiga: cannot get the user name Problem: Amiga: cannot get the user name. Solution: Use getpwuid() if available. (Ola S?der, closes https://github.com/vim/vim/issues/4985)
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Sep 2019 13:45:05 +0200
parents 24f42f0bf27e
children 6e3dc2d630c2
comparison
equal deleted inserted replaced
18177:a98f052160ff 18178:a3ddd35ee6d4
88 #ifdef __GNUC__ 88 #ifdef __GNUC__
89 # include <sys/stat.h> 89 # include <sys/stat.h>
90 # include <unistd.h> 90 # include <unistd.h>
91 # include <limits.h> 91 # include <limits.h>
92 # include <errno.h> 92 # include <errno.h>
93 # include <pwd.h>
93 # include <dirent.h> 94 # include <dirent.h>
94 #endif 95 #endif
95 96
96 #include <time.h> // for strftime() and others 97 #include <time.h> // for strftime() and others
97 98