summaryrefslogtreecommitdiff
path: root/src/basic/missing_stdlib.h
blob: 188a8d44066a24a3b2d3ffb06a290bc3d309e4d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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