Index: mojo/system/memory.cc |
diff --git a/mojo/system/memory.cc b/mojo/system/memory.cc |
index fe7edef3da3f4a3871171a19f197c65d4e2b70c6..f20b61ddd546ef4833053bdbd69b9603080bb1e2 100644 |
--- a/mojo/system/memory.cc |
+++ b/mojo/system/memory.cc |
@@ -23,8 +23,10 @@ bool VerifyUserPointerForSize(const void* pointer, size_t count) { |
} |
// Explicitly instantiate the sizes we need. Add instantiations as needed. |
-template bool VerifyUserPointerForSize<1>(const void*, size_t); |
-template bool VerifyUserPointerForSize<4>(const void*, size_t); |
+template MOJO_SYSTEM_EXPORT bool VerifyUserPointerForSize<1>( |
+ const void*, size_t); |
+template MOJO_SYSTEM_EXPORT bool VerifyUserPointerForSize<4>( |
+ const void*, size_t); |
} // namespace system |
} // namespace mojo |