aboutsummaryrefslogtreecommitdiff
path: root/src/os/env.c
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-04-03 04:27:36 -0400
committerJohn Szakmeister <john@szakmeister.net>2014-04-03 04:32:27 -0400
commita3ec68ce1e85c165741ccdee1e0fec16a34838c6 (patch)
tree21a286c63c6b9f9bec45eb0873b286b9144ffc62 /src/os/env.c
parent0895bf88282155f12ee464de16fed01b7c159fab (diff)
downloadrneovim-a3ec68ce1e85c165741ccdee1e0fec16a34838c6.tar.gz
rneovim-a3ec68ce1e85c165741ccdee1e0fec16a34838c6.tar.bz2
rneovim-a3ec68ce1e85c165741ccdee1e0fec16a34838c6.zip
Use check_symbol_exists() instead of check_function_exists().
This is mostly a revert of 477031c03b2c525b117fae8a9b61c98245a06908. Now that we are not setting `CMAKE_C_FLAGS`, the check can work correctly and it helps `pcc` (portable c compiler) make it further along--though it still doesn't produce usable results (see #427 for the details).
Diffstat (limited to 'src/os/env.c')
-rw-r--r--src/os/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/env.c b/src/os/env.c
index cf08a33f96..9415b19573 100644
--- a/src/os/env.c
+++ b/src/os/env.c
@@ -5,7 +5,7 @@
#include "os/os.h"
#include "misc2.h"
-#ifdef HAVE_CRT_EXTERNS_H
+#ifdef HAVE__NSGETENVIRON
#include <crt_externs.h>
#endif