summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-06-23 17:07:14 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2024-06-23 17:07:14 -0400
commit8fc4d0334faeecc12773c6757e1d833d0b81e345 (patch)
treebb29dd34d38218a60fae3e93c1f6df92f5d17916
parent7af15b326df5a638b24c5e637d5f37396276f906 (diff)
downloadabaddon-portaudio-8fc4d0334faeecc12773c6757e1d833d0b81e345.tar.gz
abaddon-portaudio-8fc4d0334faeecc12773c6757e1d833d0b81e345.zip
Revert "add workaround for musl (#317)"
This reverts commit 7af15b326df5a638b24c5e637d5f37396276f906.
-rw-r--r--src/abaddon.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/abaddon.cpp b/src/abaddon.cpp
index 23abfd3..7f4281d 100644
--- a/src/abaddon.cpp
+++ b/src/abaddon.cpp
@@ -1,5 +1,4 @@
#include "abaddon.hpp"
-#include <cstdlib>
#include <memory>
#include <spdlog/spdlog.h>
#include <spdlog/cfg/env.h>
@@ -1154,32 +1153,7 @@ void Abaddon::on_window_hide() {
}
}
-// clang-format off
-
-#ifdef __GLIBC__
- #ifndef _GNU_SOURCE
- #define _GNU_SOURCE
- #include <features.h>
- #ifndef __USE_GNU
- #define __MUSL__
- #endif
- #undef _GNU_SOURCE
- #else
- #include <features.h>
- #ifndef __USE_GNU
- #define __MUSL__
- #endif
- #endif
-#endif
-
-// clang-format on
-
int main(int argc, char **argv) {
-#ifdef __MUSL__
- char env[] = "LANG=C";
- putenv(env);
-#endif
-
if (std::getenv("ABADDON_NO_FC") == nullptr)
Platform::SetupFonts();