This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
sys: fix Linux build.
legacy
Sam Hocevar
4 years ago
parent
4defbeaab0
commit
c9a09efec0
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
src/lol/sys/init.h
+ 2
- 2
src/lol/sys/init.h
View File
@@ -69,8 +69,8 @@ static inline std::string getenv(std::string const &var)
return ret;
}
#else
if (auto va
r
= std::getenv(var.c_str()))
return std::string(va
r
);
if (auto va
l
= std::getenv(var.c_str()))
return std::string(va
l
);
#endif
return std::string();
}
Write
Preview
Loading…
Cancel
Save