mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-27 07:59:41 +08:00
Use pragma aux to export valid names from DLL in Watcom
This commit is contained in:
1 parent
a9fb0ea969
commit
945c30c5ee
13 files changed
+88
-41
No files matched your search
@@ -878,13 +878,13 @@ static struct commands file_commandhandlers[] = {
|
||||
|
||||
static int file_loaded=0;
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport)
|
||||
#ifdef WATCOM
|
||||
#pragma aux file_plugin "*" parm caller [ ] value struct float struct routine [eax] modify [eax ecx edx]
|
||||
#undef PLUGINCALL
|
||||
#define PLUGINCALL
|
||||
#endif
|
||||
|
||||
|
||||
int file_plugin (struct pluginlink * pluginlink,
|
||||
PLUGINAPI int PLUGINCALL file_plugin (struct pluginlink * pluginlink,
|
||||
int argc, char** argv){
|
||||
|
||||
if(!file_loaded){
|
||||
|
||||
Reference in new issue
Block a user