API: Legacy: Add standard DLLExport to LegacyDLLExport

pull/35/head
Paul Hollinsky 2021-06-11 12:39:20 -04:00
parent 34f7bfabd2
commit 843fa92564
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
// Nothing special is needed to export
#define DLLExport
#define LegacyDLLExport
#define LegacyDLLExport DLLExport
// #ifndef ICSNEO_NO_AUTO_DESTRUCT
// #define ICSNEO_DESTRUCTOR __attribute__((destructor));

View File

@ -5,10 +5,10 @@
#ifdef ICSNEOC_MAKEDLL
#define DLLExport __declspec(dllexport)
#define LegacyDLLExport _stdcall
#else
#define DLLExport __declspec(dllimport)
#endif
#define LegacyDLLExport _stdcall DLLExport
// MSVC does not have the ability to specify a destructor
#define ICSNEO_DESTRUCTOR