]> granicus.if.org Git - graphviz/commitdiff
lefty now builds in MinGW: minor preprocessor changes, modern definition of WinMain...
authorglenlow <devnull@localhost>
Sat, 1 Mar 2008 12:35:02 +0000 (12:35 +0000)
committerglenlow <devnull@localhost>
Sat, 1 Mar 2008 12:35:02 +0000 (12:35 +0000)
cmd/dotty/mswin32/dotty.c

index bdbb1420ac7a3a2a692fb0dda7f95650665362cf..47a1207bef3d84376f4ed83cd8b2f62d6122d669 100644 (file)
@@ -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;