[core] Don't demand Win32-specific features like __cdecl.

This commit is contained in:
no 2016-01-05 19:39:02 -05:00
parent 2b31784057
commit a038c21ea8
1 changed files with 11 additions and 0 deletions

View File

@ -14,6 +14,17 @@
#include <Project64-core/TraceModulesProject64.h>
#include "PluginClass.h"
/*
* Usage of Win32-specific `__cdecl' seems limited to just the plugin files.
*
* If we really do need specific call conventions, maybe have a #define CALL.
* Otherwise, it'd be best to just delete this macro and all uses of __cdecl.
*/
#ifndef _WIN32
#define __cdecl
/* dummy definition to pre-process this Win32-ism as blank garbage */
#endif
class CPlugin :
private CDebugSettings
{