| Index: snapshot/crashpad_info_client_options_test_module.cc
|
| diff --git a/snapshot/mac/crashpad_info_client_options_test_module.cc b/snapshot/crashpad_info_client_options_test_module.cc
|
| similarity index 83%
|
| rename from snapshot/mac/crashpad_info_client_options_test_module.cc
|
| rename to snapshot/crashpad_info_client_options_test_module.cc
|
| index be5f00a2abdd104d4b3c67fc5c1e63ce7c6e634d..357d35e6596c95fef3186cfa97dd6db8f5f8c514 100644
|
| --- a/snapshot/mac/crashpad_info_client_options_test_module.cc
|
| +++ b/snapshot/crashpad_info_client_options_test_module.cc
|
| @@ -12,9 +12,15 @@
|
| // See the License for the specific language governing permissions and
|
| // limitations under the License.
|
|
|
| +#include "build/build_config.h"
|
| #include "client/crashpad_info.h"
|
|
|
| +#if defined(OS_POSIX)
|
| #define EXPORT __attribute__((visibility("default")))
|
| +#elif defined(OS_WIN)
|
| +#include <windows.h>
|
| +#define EXPORT __declspec(dllexport)
|
| +#endif // OS_POSIX
|
|
|
| extern "C" {
|
|
|
| @@ -33,3 +39,9 @@ EXPORT crashpad::CrashpadInfo* TestModule_GetCrashpadInfo() {
|
| }
|
|
|
| } // extern "C"
|
| +
|
| +#if defined(OS_WIN)
|
| +BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
|
| + return TRUE;
|
| +}
|
| +#endif // OS_WIN
|
|
|