plugin: extern "C" around obs includes

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2018-11-07 14:09:18 +01:00
parent f54efe7704
commit 55abc87126

View file

@ -22,11 +22,13 @@
#include <list> #include <list>
#include <functional> #include <functional>
extern "C" {
#pragma warning (push) #pragma warning (push)
#pragma warning (disable: 4201) #pragma warning (disable: 4201)
#include "obs-module.h" #include "obs-module.h"
#include "util/platform.h" #include "util/platform.h"
#pragma warning (pop) #pragma warning (pop)
}
// Plugin // Plugin
#define PLUGIN_NAME "Stream Effects" #define PLUGIN_NAME "Stream Effects"