summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
-rw-r--r--src/common/compat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index d4ea6c6d15..ede2087972 100644
--- a/configure.in
+++ b/configure.in
@@ -1138,7 +1138,7 @@ if test "$tor_cv_have_FUNCTION_macro" = 'yes'; then
fi
if test "$tor_cv_have_environ_declared" = 'yes'; then
- AC_DEFINE(HAVE_EXTERN_ENVIRON_DECLARED__, 1,
+ AC_DEFINE(HAVE_EXTERN_ENVIRON_DECLARED, 1,
[Defined if we have extern char **environ already declared])
fi
diff --git a/src/common/compat.c b/src/common/compat.c
index 0e8d144f56..fbb37ce031 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -1712,7 +1712,7 @@ make_path_absolute(char *fname)
}
#ifndef HAVE__NSGETENVIRON
-#ifndef HAVE_EXTERN_ENVIRON_DECLARED__
+#ifndef HAVE_EXTERN_ENVIRON_DECLARED
/* Some platforms declare environ under some circumstances, others don't. */
extern char **environ;
#endif