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

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

Issue 2342353003: [nacl-sdk] Fix nacl sdk example 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_helper.cc
diff --git a/native_client_sdk/src/examples/api/vpn_provider/vpn_provider_helper.cc b/native_client_sdk/src/examples/api/vpn_provider/vpn_provider_helper.cc
index 455d9d0d5141c9d790d91d64ff7e91a6b08186b4..70d61d0b67298fa7aea56b821f739f76350dc25c 100644
--- a/native_client_sdk/src/examples/api/vpn_provider/vpn_provider_helper.cc
+++ b/native_client_sdk/src/examples/api/vpn_provider/vpn_provider_helper.cc
@@ -8,6 +8,10 @@
#include "ppapi/cpp/var_dictionary.h"
+#ifdef WIN32
+# undef PostMessage
+#endif
+
VpnProviderHelper::VpnProviderHelper(pp::Instance* instance)
: instance_(instance),
thread_(pp::InstanceHandle(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