mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Compatibility with Watcom's DLL exports for plugins
This commit is contained in:
1 parent
88263ebde9
commit
c650d32206
4 files changed
+22
-34
No files matched your search
@@ -100,17 +100,7 @@ int savecouters(void)
|
||||
|
||||
return (0);
|
||||
}
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport) int start(struct pluginlink * pluginlink,
|
||||
int argc, char** argv);
|
||||
#else
|
||||
|
||||
int start(struct pluginlink * pluginlink,
|
||||
int argc, char** argv);
|
||||
|
||||
#endif
|
||||
|
||||
/* --------------------------------------------------------------------------*/
|
||||
static int ldapfunc(struct clientparam *param)
|
||||
@@ -467,7 +457,15 @@ int h_dircount(int argc, unsigned char ** argv)
|
||||
|
||||
/*------------------------------- MAIN --------------------------------------
|
||||
start plugin init */
|
||||
int start(struct pluginlink * pluginlink, int argc, char** argv)
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport) int start(struct pluginlink * pluginlink,
|
||||
int argc, char** argv)
|
||||
#else
|
||||
|
||||
int start(struct pluginlink * pluginlink,
|
||||
int argc, char** argv)
|
||||
|
||||
#endif
|
||||
{
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user