mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Add back __cdecl on older Wine versions
This commit is contained in:
@@ -36,7 +36,11 @@
|
||||
* this group plugin host will function identically on both the plugin and the
|
||||
* Wine VST host side.
|
||||
*/
|
||||
int __attribute__((visibility("default"))) main(int argc, char* argv[]) {
|
||||
int __attribute__((visibility("default")))
|
||||
#ifdef WINE_USE_CDECL
|
||||
__cdecl
|
||||
#endif
|
||||
main(int argc, char* argv[]) {
|
||||
set_realtime_priority();
|
||||
|
||||
// Instead of directly hosting a plugin, this process will receive a UNIX
|
||||
|
||||
@@ -29,7 +29,11 @@
|
||||
* plugin, and then connect back to the `libyabridge.so` instance that spawned
|
||||
* this over the socket.
|
||||
*/
|
||||
int __attribute__((visibility("default"))) main(int argc, char* argv[]) {
|
||||
int __attribute__((visibility("default")))
|
||||
#ifdef WINE_USE_CDECL
|
||||
__cdecl
|
||||
#endif
|
||||
main(int argc, char* argv[]) {
|
||||
set_realtime_priority();
|
||||
|
||||
// We pass the name of the VST plugin .dll file to load and the base
|
||||
|
||||
Reference in New Issue
Block a user