Commit d0cef0e8 authored by Michael Tremer's avatar Michael Tremer

Fall back to getenv() when secure_getenv() is not available

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 7c922e9c
......@@ -47,7 +47,7 @@ loc_log_null(struct loc_ctx *ctx, const char *format, ...) {}
# ifdef HAVE___SECURE_GETENV
# define secure_getenv __secure_getenv
# else
# error neither secure_getenv nor __secure_getenv is available
# define secure_getenv getenv
# endif
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment