From a3ec68ce1e85c165741ccdee1e0fec16a34838c6 Mon Sep 17 00:00:00 2001 From: John Szakmeister Date: Thu, 3 Apr 2014 04:27:36 -0400 Subject: 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). --- src/os/env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 #endif -- cgit