Title: [222876] trunk/Source/WebKit
- Revision
- 222876
- Author
- [email protected]
- Date
- 2017-10-04 13:46:53 -0700 (Wed, 04 Oct 2017)
Log Message
[WinCairo] add PLATFORM(WIN) configurations to config.h
https://bugs.webkit.org/show_bug.cgi?id=177846
Patch by Stephan Szabo <[email protected]> on 2017-10-04
Reviewed by Alex Christensen.
* config.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (222875 => 222876)
--- trunk/Source/WebKit/ChangeLog 2017-10-04 20:27:03 UTC (rev 222875)
+++ trunk/Source/WebKit/ChangeLog 2017-10-04 20:46:53 UTC (rev 222876)
@@ -1,3 +1,12 @@
+2017-10-04 Stephan Szabo <[email protected]>
+
+ [WinCairo] add PLATFORM(WIN) configurations to config.h
+ https://bugs.webkit.org/show_bug.cgi?id=177846
+
+ Reviewed by Alex Christensen.
+
+ * config.h:
+
2017-10-04 Adrian Perez de Castro <[email protected]>
[GTK] WebKit2GTK+ does not handle touchmove and touchend events correctly
Modified: trunk/Source/WebKit/config.h (222875 => 222876)
--- trunk/Source/WebKit/config.h 2017-10-04 20:27:03 UTC (rev 222875)
+++ trunk/Source/WebKit/config.h 2017-10-04 20:46:53 UTC (rev 222876)
@@ -33,6 +33,17 @@
#include <runtime/JSExportMacros.h>
#include <wtf/DisallowCType.h>
+#if PLATFORM(WIN)
+
+#ifndef _WINSOCKAPI_
+#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
+#endif
+
+#undef WEBCORE_EXPORT
+#define WEBCORE_EXPORT WTF_EXPORT_DECLARATION
+
+#endif // PLATFORM(WIN)
+
#ifdef __cplusplus
// These undefs match up with defines in WebKit2Prefix.h for Mac OS X.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes