2020-03-29 16:14:26 +02:00
|
|
|
diff --git a/MyGUIEngine/include/MyGUI_Singleton.h b/MyGUIEngine/include/MyGUI_Singleton.h
|
|
|
|
index 5067da9..e12287d 100644
|
|
|
|
--- a/MyGUIEngine/include/MyGUI_Singleton.h
|
|
|
|
+++ b/MyGUIEngine/include/MyGUI_Singleton.h
|
|
|
|
@@ -58,8 +58,14 @@ namespace MyGUI
|
2015-02-17 20:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
+#if MYGUI_COMPILER == MYGUI_COMPILER_MSVC || MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
|
|
|
|
static T* msInstance;
|
|
|
|
static const char* mClassTypeName;
|
|
|
|
+#else
|
|
|
|
+ static MYGUI_EXPORT T* msInstance;
|
|
|
|
+
|
|
|
|
+ static MYGUI_EXPORT const char* mClassTypeName;
|
|
|
|
+#endif
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace MyGUI
|