blob: 5dff666a9c1fb91f28b133e2552e6d524d9cc4ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include <cstdlib>
#ifdef _WIN32
namespace floormat {
using std::getenv;
int setenv(const char* name, const char* value, int overwrite);
int unsetenv(const char* name);
} // namespace floormat
#else
#include <cstdlib>
namespace floormat { using std::getenv; using std::setenv; using std::unsetenv; }
#endif
|