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

+7 -6
View File
@@ -457,15 +457,16 @@ int h_dircount(int argc, unsigned char ** argv)
/*------------------------------- MAIN --------------------------------------
start plugin init */
#ifdef _WIN32
__declspec(dllexport) int start(struct pluginlink * pluginlink,
int argc, char** argv)
#else
int start(struct pluginlink * pluginlink,
#ifdef WATCOM
#pragma aux start "*" parm caller [ ] value struct float struct routine [eax] modify [eax ecx edx]
#undef PLUGINCALL
#define PLUGINCALL
#endif
PLUGINAPI int PLUGINCALL start(struct pluginlink * pluginlink,
int argc, char** argv)
#endif
{