Get rid of explicit calling convention on main()

Fixes builds on Wine 6.0, and it's apparently also no longer needed for
Wine 5.9 and up.
This commit is contained in:
Robbert van der Helm
2020-12-14 23:12:25 +01:00
parent 42c484bfc0
commit 449b17b5e2
3 changed files with 11 additions and 10 deletions
+1 -5
View File
@@ -35,12 +35,8 @@
* After that initialization step both the regular individual plugin host and
* this group plugin host will function identically on both the plugin and the
* Wine VST host side.
*
* The explicit calling convention is needed to work around a bug introduced in
* Wine 5.7: https://bugs.winehq.org/show_bug.cgi?id=49138
*/
int __cdecl __attribute__((visibility("default")))
main(int argc, char* argv[]) {
int __attribute__((visibility("default"))) main(int argc, char* argv[]) {
set_realtime_priority();
// Instead of directly hosting a plugin, this process will receive a UNIX