OSDN Git Service

Added support for Visual Studio 2019.2 (v16.2).
[mutilities/MUtilities.git] / include / MUtils / Global.h
index f01f86b..ca7fe75 100644 (file)
@@ -39,11 +39,7 @@ template<typename K, typename V> class QHash;
  */
 
  //Interface version
-#define MUTILS_INTERFACE 2
-
-//Build key
-#define MUTILS_BUILD_KEY_HELPER(X,Y) X##" "##Y
-#define MUTILS_BUILD_KEY MUTILS_BUILD_KEY_HELPER(__DATE__, __TIME__)
+#define MUTILS_INTERFACE 3
 
 //MUtils API
 #ifdef _MSC_VER
@@ -370,8 +366,8 @@ namespace MUtils
        //Internal (do *not* call directly!)
        namespace Internal
        {
-               MUTILS_API int MUTILS_INITIALIZER(const unsigned int interfaceId, const bool debugFlag, const char *const buildKey);
-               static const int s_initializedFlag = MUTILS_INITIALIZER(MUTILS_INTERFACE, MUTILS_DEBUG, MUTILS_BUILD_KEY);
+               MUTILS_API unsigned int MUTILS_INITIALIZER(const unsigned int interfaceId);
+               static const unsigned int init_flag = MUTILS_INITIALIZER(MUTILS_INTERFACE);
        }
 }