From: glenlow Date: Sat, 1 Mar 2008 12:35:02 +0000 (+0000) Subject: lefty now builds in MinGW: minor preprocessor changes, modern definition of WinMain... X-Git-Tag: LAST_LIBGRAPH~32^2~4636 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2192191d6571c6ef33f30f232e2e887c782c19b;p=graphviz lefty now builds in MinGW: minor preprocessor changes, modern definition of WinMain, use windres to compile resources in MinGW/Cygwin --- diff --git a/cmd/lefty/common.h b/cmd/lefty/common.h index 5cc3d2223..cdbac2039 100644 --- a/cmd/lefty/common.h +++ b/cmd/lefty/common.h @@ -32,7 +32,7 @@ extern "C" { */ #define FEATURE_MINTSIZE 1 #define FEATURE_DOT 1 -#ifdef MSWIN32 +#if defined(WIN32) || defined(MSWIN32) #ifndef FEATURE_WIN32 #define FEATURE_WIN32 1 #endif