common: Undefine the unsafe 'strtoll' define from libobs

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-04-22 22:49:57 +02:00 committed by Michael Fabian Dirks
parent c93789f6dc
commit ce74d2f7cd

View file

@ -70,6 +70,10 @@ extern "C" {
#include <graphics/vec4.h> #include <graphics/vec4.h>
#include <util/platform.h> #include <util/platform.h>
// Fix libOBS's global defines
#undef strtoll
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(pop) #pragma warning(pop)
#endif #endif