Started dynamic library support.
This commit is contained in:
parent
64e1555d56
commit
1b70383448
@ -1892,9 +1892,9 @@ namespace ehs
|
||||
}
|
||||
};
|
||||
|
||||
typedef Str<Char_32, UInt_64> Str_32;
|
||||
typedef Str<Char_16, UInt_64> Str_16;
|
||||
typedef Str<Char_8, UInt_64> Str_8;
|
||||
EHS_LIB_IO typedef Str<Char_32, UInt_64> Str_32;
|
||||
EHS_LIB_IO typedef Str<Char_16, UInt_64> Str_16;
|
||||
EHS_LIB_IO typedef Str<Char_8, UInt_64> Str_8;
|
||||
}
|
||||
|
||||
template<typename T = ehs::Char_8, typename N = ehs::UInt_64>
|
||||
|
@ -6,6 +6,14 @@
|
||||
#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;
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user