Skip to content
Snippets Groups Projects
Commit 1267b268 authored by rswindell's avatar rswindell
Browse files

Functions exported as __cdecl (instead of __stdcall) for simplicity.

parent 0ef4e6ff
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,11 @@
#ifndef __FLAT__
#define __FLAT__
#endif
#define LZHCALL __stdcall /* VB Compatible */
#ifdef LZH_VB_COMPATIBLE
#define LZHCALL __stdcall /* VB Compatible */
#else
#define LZHCALL
#endif
#ifdef LZHDLL
#define EXPORT32 __declspec( dllexport )
#else
......
......@@ -48,7 +48,11 @@
#ifndef __FLAT__
#define __FLAT__
#endif
#define SMBCALL __stdcall /* VB Compatible */
#ifdef SMB_VB_COMPATIBLE
#define SMBCALL __stdcall /* VB Compatible */
#else
#define SMBCALL
#endif
#ifdef SMBDLL
#define EXPORT32 __declspec( dllexport )
#else
......@@ -58,7 +62,7 @@
#define SMBCALL
#define EXPORT32
#elif defined __FLAT__
#define SMBCALL _pascal
#define SMBCALL
#define EXPORT32 _export
#else
#define SMBCALL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment