a880b1efa4
Created a gcc 4.7 patch, visibility is much more strict in gcc 4.7 OBS-URL: https://build.opensuse.org/request/show/116642 OBS-URL: https://build.opensuse.org/package/show/games/MyGUI?expand=0&rev=10
21 lines
653 B
Diff
21 lines
653 B
Diff
diff -Naur MyGUI_3.2.0.orig/MyGUIEngine/include/MyGUI_Singleton.h MyGUI_3.2.0/MyGUIEngine/include/MyGUI_Singleton.h
|
|
--- MyGUI_3.2.0.orig/MyGUIEngine/include/MyGUI_Singleton.h 2012-02-22 22:27:42.000000000 +0100
|
|
+++ MyGUI_3.2.0/MyGUIEngine/include/MyGUI_Singleton.h 2012-05-07 13:15:46.000000000 +0200
|
|
@@ -67,10 +67,15 @@
|
|
}
|
|
|
|
private:
|
|
+#if MYGUI_COMPILER == MYGUI_COMPILER_MSVC || MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
|
|
static T* msInstance;
|
|
|
|
- protected:
|
|
static const char* mClassTypeName;
|
|
+#else
|
|
+ static MYGUI_EXPORT T* msInstance;
|
|
+
|
|
+ static MYGUI_EXPORT const char* mClassTypeName;
|
|
+#endif
|
|
};
|
|
|
|
} // namespace MyGUI
|