Use pragma aux to export valid names from DLL in Watcom

This commit is contained in:
z3APA3A committed 2016-12-12 19:49:58 +03:00
1 parent a9fb0ea969
commit 945c30c5ee
13 files changed
+88 -41

No files matched your search

+6 -3
View File
@@ -372,12 +372,15 @@ static struct commands ssl_commandhandlers[] = {
};
#ifdef _WIN32
__declspec(dllexport)
#ifdef WATCOM
#pragma aux ssl_plugin "*" parm caller [ ] value struct float struct routine [eax] modify [eax ecx edx]
#undef PLUGINCALL
#define PLUGINCALL
#endif
int ssl_plugin (struct pluginlink * pluginlink,
PLUGINAPI int PLUGINCALL ssl_plugin (struct pluginlink * pluginlink,
int argc, char** argv){
pl = pluginlink;
if(!ssl_loaded){
ssl_loaded = 1;