10fb31294ae844bbf83eba05876b7a241b66f1e99mark@chromium.org#include <stdlib.h> 29cb43f00f9b417f241db051f058c52e7a132c435thakis@chromium.org 39cb43f00f9b417f241db051f058c52e7a132c435thakis@chromium.org// The windows ninja generator is expecting an import library to get generated, 49cb43f00f9b417f241db051f058c52e7a132c435thakis@chromium.org// but it doesn't if there are no exports. 59cb43f00f9b417f241db051f058c52e7a132c435thakis@chromium.org#ifdef _MSC_VER 69cb43f00f9b417f241db051f058c52e7a132c435thakis@chromium.org__declspec(dllexport) void foo() {} 79cb43f00f9b417f241db051f058c52e7a132c435thakis@chromium.org#endif 89cb43f00f9b417f241db051f058c52e7a132c435thakis@chromium.org 90fb31294ae844bbf83eba05876b7a241b66f1e99mark@chromium.orgvoid *malloc(size_t size) { 10822a998ac082353c083c063d78c796662f179543torne@chromium.org (void)size; 110fb31294ae844bbf83eba05876b7a241b66f1e99mark@chromium.org return (void*)0xdeadbeef; 120fb31294ae844bbf83eba05876b7a241b66f1e99mark@chromium.org} 13