aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/windows/16 gui app/gui_prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/windows/16 gui app/gui_prog.c')
-rw-r--r--meson/test cases/windows/16 gui app/gui_prog.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/windows/16 gui app/gui_prog.c b/meson/test cases/windows/16 gui app/gui_prog.c
new file mode 100644
index 000000000..9cdf17023
--- /dev/null
+++ b/meson/test cases/windows/16 gui app/gui_prog.c
@@ -0,0 +1,11 @@
+#include <windows.h>
+
+int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
+ LPSTR lpCmdLine, int nCmdShow) {
+ // avoid unused argument error while matching template
+ ((void)hInstance);
+ ((void)hPrevInstance);
+ ((void)lpCmdLine);
+ ((void)nCmdShow);
+ return 0;
+}