diff options
Diffstat (limited to 'libgfortran/runtime/environ.c')
-rw-r--r-- | libgfortran/runtime/environ.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/runtime/environ.c b/libgfortran/runtime/environ.c index 969dcdf..f0a593e 100644 --- a/libgfortran/runtime/environ.c +++ b/libgfortran/runtime/environ.c @@ -40,13 +40,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #if SUPPORTS_WEAKREF && defined(HAVE___SECURE_GETENV) static char* weak_secure_getenv (const char*) - __attribute__((__weakref__("__secure_gettime"))); + __attribute__((__weakref__("__secure_getenv"))); #endif 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 |