Added LIBRARY_EXT constant.
This commit is contained in:
@@ -20,6 +20,15 @@ namespace mijin
|
||||
// public constants
|
||||
//
|
||||
|
||||
#if MIJIN_TARGET_OS == MIJIN_OS_LINUX
|
||||
inline const std::string_view LIBRARY_EXT = "so";
|
||||
#elif MIJIN_TARGET_OS == MIJIN_OS_WINDOWS
|
||||
inline const std::string_view LIBRARY_EXT = "dll";
|
||||
#else
|
||||
[[deprecated("OS not supported.")]]
|
||||
inline const int LIBRARY_EXT = 0;
|
||||
#endif
|
||||
|
||||
//
|
||||
// public types
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user