diff options
| author | John Szakmeister <john@szakmeister.net> | 2014-02-28 05:33:31 -0500 |
|---|---|---|
| committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-02-28 08:15:27 -0300 |
| commit | d2e567a8354573ec96c71eb490e7c991f55ac397 (patch) | |
| tree | 1daf4d3a6cd72aec1be2d9602592cc7a8a252f49 /src/os_unix.c | |
| parent | 55e00334fb8056e9dbd54513e9052519581808fb (diff) | |
| download | rneovim-d2e567a8354573ec96c71eb490e7c991f55ac397.tar.gz rneovim-d2e567a8354573ec96c71eb490e7c991f55ac397.tar.bz2 rneovim-d2e567a8354573ec96c71eb490e7c991f55ac397.zip | |
Use _NSGetEnviron on Mac OS X to gain access to environ.
When building nvim as a shared library for testing, environ is not
exposed. In order to gain access to the environment variables, you must
get a pointer to them from _NSGetEnviron().
It appears that this may affect the FreeBSD platform too.
Diffstat (limited to 'src/os_unix.c')
0 files changed, 0 insertions, 0 deletions
