missing: move definition of secure_getenv() to missing_stdlib.h

This commit is contained in:
Yu Watanabe
2018-12-06 06:49:18 +01:00
parent b19bb11142
commit 470f348b97
3 changed files with 15 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
#include <stdlib.h>
/* stdlib.h */
#if !HAVE_SECURE_GETENV
# if HAVE___SECURE_GETENV
# define secure_getenv __secure_getenv
# else
# error "neither secure_getenv nor __secure_getenv are available"
# endif
#endif