this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

libstdc++darwin: ld workaround for working iostreams

+6 -1
+6 -1
src/dyld/ld.cpp
··· 702 702 // "St" == namespace std 703 703 if (g_libStdCxxDarwin && strstr(translated, "St") != nullptr) 704 704 { 705 - RET_IF(::dlsym(g_libStdCxxDarwin, translated)); 705 + //static void* self = ::dlopen(nullptr, RTLD_LAZY); 706 + //RET_IF(::dlsym(self, translated)); 707 + if (strcmp(translated, "_ZSt4cout") && strcmp(translated, "_ZSt4cin") && strcmp(translated, "_ZSt4cerr")) 708 + { 709 + RET_IF(::dlsym(g_libStdCxxDarwin, translated)); 710 + } 706 711 } 707 712 708 713 RET_IF(::dlsym(RTLD_DEFAULT, translated));