mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Include the Win32 module loading implementation
This commit is contained in:
@@ -23,11 +23,13 @@
|
|||||||
// it's running under a WIN32 environment. If anyone knows a better way to do
|
// it's running under a WIN32 environment. If anyone knows a better way to do
|
||||||
// this, please let me know!
|
// this, please let me know!
|
||||||
|
|
||||||
|
#pragma push_macro("__MINGW32__")
|
||||||
#pragma push_macro("WIN32")
|
#pragma push_macro("WIN32")
|
||||||
#pragma push_macro("_WIN32")
|
#pragma push_macro("_WIN32")
|
||||||
#pragma push_macro("__WIN32__")
|
#pragma push_macro("__WIN32__")
|
||||||
#pragma push_macro("_WIN64")
|
#pragma push_macro("_WIN64")
|
||||||
|
|
||||||
|
#undef __MINGW32__
|
||||||
#undef WIN32
|
#undef WIN32
|
||||||
#undef _WIN32
|
#undef _WIN32
|
||||||
#undef __WIN32__
|
#undef __WIN32__
|
||||||
@@ -38,9 +40,11 @@
|
|||||||
// included here, but including headers from the detail directory directly
|
// included here, but including headers from the detail directory directly
|
||||||
// didn't sound like a great idea.
|
// didn't sound like a great idea.
|
||||||
|
|
||||||
|
#include <boost/predef.h>
|
||||||
#include <boost/asio/basic_socket_streambuf.hpp>
|
#include <boost/asio/basic_socket_streambuf.hpp>
|
||||||
// #include <boost/asio/detail/timer_queue_ptime.hpp>
|
// #include <boost/asio/detail/timer_queue_ptime.hpp>
|
||||||
|
|
||||||
|
#pragma pop_macro("__MINGW32__")
|
||||||
#pragma pop_macro("WIN32")
|
#pragma pop_macro("WIN32")
|
||||||
#pragma pop_macro("_WIN32")
|
#pragma pop_macro("_WIN32")
|
||||||
#pragma pop_macro("__WIN32__")
|
#pragma pop_macro("__WIN32__")
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
#include "group.h"
|
#include "group.h"
|
||||||
|
|
||||||
|
#include "../boost-fix.h"
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <boost/asio/read_until.hpp>
|
#include <boost/asio/read_until.hpp>
|
||||||
#include <boost/process/environment.hpp>
|
#include <boost/process/environment.hpp>
|
||||||
|
|||||||
@@ -16,3 +16,5 @@
|
|||||||
|
|
||||||
#include "vst3.h"
|
#include "vst3.h"
|
||||||
|
|
||||||
|
// TODO: Do something with this, I just wanted to get the build working
|
||||||
|
#include <public.sdk/source/vst/hosting/module_win32.cpp>
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
// yabridge: a Wine VST bridge
|
// yabridge: a Wine VST bridge
|
||||||
// Copyright (C) 2020 Robbert van der Helm
|
// Copyright (C) 2020 Robbert van der Helm
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user