From 916131e4887e7566f08ca8fba082c183b4624424 Mon Sep 17 00:00:00 2001 From: glenlow Date: Sat, 1 Mar 2008 12:35:02 +0000 Subject: [PATCH] lefty now builds in MinGW: minor preprocessor changes, modern definition of WinMain, use windres to compile resources in MinGW/Cygwin --- cmd/dotty/mswin32/dotty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/dotty/mswin32/dotty.c b/cmd/dotty/mswin32/dotty.c index bdbb1420a..47a1207be 100644 --- a/cmd/dotty/mswin32/dotty.c +++ b/cmd/dotty/mswin32/dotty.c @@ -36,8 +36,8 @@ static char* lneato = ""; #endif -int PASCAL WinMain ( - HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow +int APIENTRY WinMain ( + HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) { STARTUPINFO si; PROCESS_INFORMATION pi; -- 2.40.0