]> 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/lefty/lefty.c

index ea1442b660212567ec6c351ca105ed264e725054..c57623dd482a200b37f4495b8d8994fb8fd6706e 100644 (file)
@@ -210,10 +210,10 @@ eop:
 
 #else
 
-HANDLE hinstance, hprevinstance;
+HINSTANCE hinstance, hprevinstance;
 
-int PASCAL WinMain (
-    HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow
+int APIENTRY WinMain (
+    HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow
 ) {
     Tobj co;
     Psrc_t src;