Skip to content

Commit 58c9f10

Browse files
authored
and -> && for msvc (#46)
1 parent 2b92a09 commit 58c9f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/mkn/kul/os/win/env.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ inline std::string GET(char const* c, std::string default_ = "") {
8484
}
8585

8686
inline void SET(char const* var, char const* val = nullptr) {
87-
if (val and strlen(val) > 0)
87+
if (val && strlen(val) > 0)
8888
_putenv(std::string(std::string(var) + "=" + std::string(val)).c_str());
8989
else // unset
9090
_putenv(std::string(std::string(var) + "=").c_str());

0 commit comments

Comments
 (0)