From ce74d2f7cd59a153bc94e9e41e7a5d889a21ab86 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Wed, 22 Apr 2020 22:49:57 +0200 Subject: [PATCH] common: Undefine the unsafe 'strtoll' define from libobs --- source/common.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/common.hpp b/source/common.hpp index e6ab835b..c09151c8 100644 --- a/source/common.hpp +++ b/source/common.hpp @@ -70,6 +70,10 @@ extern "C" { #include #include + +// Fix libOBS's global defines +#undef strtoll + #ifdef _MSC_VER #pragma warning(pop) #endif