[PATCH] Don't assume __secure_getenv is available
Janne Blomqvist
blomqvist.janne@gmail.com
Thu Apr 27 18:55:00 GMT 2017
On Thu, Apr 27, 2017 at 9:50 PM, Janne Blomqvist
<blomqvist.janne@gmail.com> wrote:
[snip]
And on top of that patch this simple typo fix:
diff --git a/libgfortran/runtime/environ.c b/libgfortran/runtime/environ.c
index 969dcdf..f488e87 100644
--- a/libgfortran/runtime/environ.c
+++ b/libgfortran/runtime/environ.c
@@ -46,7 +46,7 @@ static char* weak_secure_getenv (const char*)
char *
secure_getenv (const char *name)
{
-#if SUPPORTS_WEAKREF && defined(HAVE__SECURE_GETENV)
+#if SUPPORTS_WEAKREF && defined(HAVE___SECURE_GETENV)
if (weak_secure_getenv)
return weak_secure_getenv (name);
#endif
--
Janne Blomqvist
More information about the Fortran
mailing list