summaryrefslogtreecommitdiff
path: root/src/basic/missing_stdlib.h
blob: 8c76f93eb2f4af3e7180d6669b02ff5bcac4fb6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#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