mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-29 09:19:04 -04:00
Libcxx-23 is removing transitive includes. This caused build failures related to headers that were already included for Windows. Just inherit them unconditionally. See-Also: https://discourse.llvm.org/t/rfc-remove-unused-transitive-includes-from-the-libc-headers/90157 Signed-off-by: Alfred Wingate <parona@protonmail.com>
16 lines
241 B
C++
16 lines
241 B
C++
#include "../platform.hpp"
|
|
|
|
#include <cstdlib>
|
|
|
|
bool DeckLinkStringToStdString(decklink_string_t input, std::string &output)
|
|
{
|
|
if (input == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
output = std::string(input);
|
|
free((void *)input);
|
|
|
|
return true;
|
|
}
|