From cd37442fd02dbaf47eae302fece2a6a25b3216c2 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 30 Sep 2016 09:58:43 +0200 Subject: [PATCH] tests: ...but keep regular builds working. --- include/private/vkd3d_test.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/private/vkd3d_test.h b/include/private/vkd3d_test.h index 785173d0..7056befd 100644 --- a/include/private/vkd3d_test.h +++ b/include/private/vkd3d_test.h @@ -162,7 +162,11 @@ static void vkd3d_test_trace(unsigned int line, const char *fmt, ...) va_end(args); } +#ifdef _WIN32 int wmain(void) +#else +int main(void) +#endif { const char *vkd3d_test_debug;