mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-07 01:11:22 +08:00
msys2 : fix build
This commit is contained in:
@@ -47,9 +47,9 @@ std::vector<char> readFile(const char* filename) {
|
||||
}
|
||||
|
||||
std::string getBinaryPath() {
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#if defined(__EMSCRIPTEN__) || defined(_WIN32)
|
||||
return "";
|
||||
#endif
|
||||
#else
|
||||
std::string result;
|
||||
void* p = reinterpret_cast<void*>(dummy);
|
||||
|
||||
@@ -73,4 +73,5 @@ std::string getBinaryPath() {
|
||||
}
|
||||
|
||||
return result;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user