Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: native_client_sdk/src/examples/api/vpn_provider/vpn_provider.cc

Issue 2337973003: Fix ppapi sample when built on windows. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/examples/api/vpn_provider/vpn_provider.cc
diff --git a/native_client_sdk/src/examples/api/vpn_provider/vpn_provider.cc b/native_client_sdk/src/examples/api/vpn_provider/vpn_provider.cc
index 88e5aaa3d70b6df1530aec8baf06e7b6423099ce..416535d79d0430dd26ca54ec86af9b95b2cb5c91 100644
--- a/native_client_sdk/src/examples/api/vpn_provider/vpn_provider.cc
+++ b/native_client_sdk/src/examples/api/vpn_provider/vpn_provider.cc
@@ -13,6 +13,10 @@
#include "vpn_provider_helper.h"
+#ifdef WIN32
+# undef PostMessage
+#endif
+
class VpnProviderInstance : public pp::Instance {
public:
explicit VpnProviderInstance(PP_Instance instance)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698