mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
API: Legacy: Add standard DLLExport to LegacyDLLExport
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
// Nothing special is needed to export
|
// Nothing special is needed to export
|
||||||
#define DLLExport
|
#define DLLExport
|
||||||
#define LegacyDLLExport
|
#define LegacyDLLExport DLLExport
|
||||||
|
|
||||||
// #ifndef ICSNEO_NO_AUTO_DESTRUCT
|
// #ifndef ICSNEO_NO_AUTO_DESTRUCT
|
||||||
// #define ICSNEO_DESTRUCTOR __attribute__((destructor));
|
// #define ICSNEO_DESTRUCTOR __attribute__((destructor));
|
||||||
|
|||||||
@@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
#ifdef ICSNEOC_MAKEDLL
|
#ifdef ICSNEOC_MAKEDLL
|
||||||
#define DLLExport __declspec(dllexport)
|
#define DLLExport __declspec(dllexport)
|
||||||
#define LegacyDLLExport _stdcall
|
|
||||||
#else
|
#else
|
||||||
#define DLLExport __declspec(dllimport)
|
#define DLLExport __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
|
#define LegacyDLLExport _stdcall DLLExport
|
||||||
|
|
||||||
// MSVC does not have the ability to specify a destructor
|
// MSVC does not have the ability to specify a destructor
|
||||||
#define ICSNEO_DESTRUCTOR
|
#define ICSNEO_DESTRUCTOR
|
||||||
|
|||||||
Reference in New Issue
Block a user