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
1 changed files with 4 additions and 0 deletions

View File

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