Index: ppapi/tests/testing_instance.cc |
diff --git a/ppapi/tests/testing_instance.cc b/ppapi/tests/testing_instance.cc |
index b1eaae460e3b83007848706f5424b692704c2ffa..71851f98231e120f52eca5c661404ffd0a89c166 100644 |
--- a/ppapi/tests/testing_instance.cc |
+++ b/ppapi/tests/testing_instance.cc |
@@ -324,6 +324,11 @@ class Module : public pp::Module { |
namespace pp { |
+#if defined(WIN32) |
+__declspec(dllexport) |
+#else |
+__attribute__((visibility("default"))) |
+#endif |
Module* CreateModule() { |
return new ::Module(); |
} |