Changeset 122211 in webkit
- Timestamp:
- Jul 10, 2012 3:49:47 AM (12 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r122175 r122211 1 2012-07-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 Re-enable __declspec(dl{import,export}) for MinGW when using EXPORT_MACROS 4 https://bugs.webkit.org/show_bug.cgi?id=90612 5 6 Reviewed by Csaba Osztrogonác. 7 8 MinGW was switched to use auto import/export of symbols on r44184. 9 From my understanding of the documentation, MinGW will not auto-export symbols 10 unless there are no explicit __declspec(dlexport) in the DLL already. 11 12 The issues that originally made us rely on the auto-import feature of MinGW 13 should now be resolved with the EXPORT_MACROS work. This patch re-enables them. 14 15 It also removes the GCC check for internal symbols hiding as the visibility should 16 already be hidden by default for both MSVC and GCC on Windows anyway. 17 18 * wtf/ExportMacros.h: 19 1 20 2012-07-09 No'am Rosenthal <noam.rosenthal@nokia.com> 2 21 -
trunk/Source/WTF/wtf/ExportMacros.h
r121762 r122211 39 39 // symbol interposition rules. 40 40 41 #if !PLATFORM(CHROMIUM) && OS(WINDOWS) && !COMPILER(GCC)41 #if !PLATFORM(CHROMIUM) && OS(WINDOWS) 42 42 #define HAVE_INTERNAL_VISIBILITY 1 43 43 #define WTF_INTERNAL … … 52 52 #if USE(EXPORT_MACROS) 53 53 54 #if !PLATFORM(CHROMIUM) && OS(WINDOWS) && !COMPILER(GCC)54 #if !PLATFORM(CHROMIUM) && OS(WINDOWS) 55 55 #define WTF_EXPORT __declspec(dllexport) 56 56 #define WTF_IMPORT __declspec(dllimport)
Note: See TracChangeset
for help on using the changeset viewer.