mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
12 lines
372 B
Diff
12 lines
372 B
Diff
--- a/layers/vk_layer_config.cpp
|
|
+++ b/layers/vk_layer_config.cpp
|
|
@@ -74,7 +74,7 @@
|
|
#endif
|
|
|
|
std::string GetEnvironment(const char *variable) {
|
|
-#if !defined(__ANDROID__) && !defined(_WIN32)
|
|
+#if !defined(__ANDROID__) && !defined(_WIN32) || defined(__TERMUX__)
|
|
const char *output = getenv(variable);
|
|
return output == NULL ? "" : output;
|
|
#elif defined(_WIN32)
|