From b2192191d6571c6ef33f30f232e2e887c782c19b 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/lefty/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0