summaryrefslogtreecommitdiffstats
path: root/src/libnetdata/os/setenv.h
blob: 3ed63714c424aee3e11b03ad4941327ca211c1c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef NETDATA_SETENV_H
#define NETDATA_SETENV_H

#include "config.h"

#ifndef HAVE_SETENV
int os_setenv(const char *name, const char *value, int overwrite);
#define setenv(name, value, overwrite) os_setenv(name, value, overwrite)
#endif

#endif //NETDATA_SETENV_H