Started dynamic library support.
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#define EHS_OS_WINDOWS
|
||||
#define EHS_OS_WINDOWS
|
||||
#define EHS_FILE __FILE__
|
||||
#define EHS_FUNC __FUNCTION__
|
||||
#define EHS_LINE __LINE__
|
||||
|
||||
#if defined(EHS_EXPORT)
|
||||
#define EHS_LIB_IO __declspec(dllexport)
|
||||
#elif defined(EHS_IMPORT)
|
||||
#define EHS_LIB_IO __declspec(dllimport)
|
||||
#else
|
||||
#define EHS_LIB_IO
|
||||
#endif
|
||||
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
@@ -22,6 +30,7 @@
|
||||
#define EHS_FILE __FILE__
|
||||
#define EHS_FUNC __FUNCTION__
|
||||
#define EHS_LINE __LINE__
|
||||
#define EHS_LIB_IO
|
||||
|
||||
typedef int Handle;
|
||||
typedef int Handle;
|
||||
#endif
|
Reference in New Issue
Block a user