Bitcoin ABC  0.22.13
P2P Digital Currency
setenv.h
Go to the documentation of this file.
1 // Copyright (c) 2018 The Bitcoin developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_COMPAT_SETENV_H
6 #define BITCOIN_COMPAT_SETENV_H
7 
8 #if defined(WIN32)
9 
10 #include <cstdlib>
11 
12 int setenv(const char *name, const char *value, int overwrite) {
13  return _putenv_s(name, value);
14 }
15 
16 #endif
17 
18 #endif // BITCOIN_COMPAT_SETENV_H
const char * name
Definition: rest.cpp:43