]> 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/common.h

index 5cc3d22232159fb22a4c617a6109423d9b2a78a7..cdbac2039b73172822ebbba171553a37df65b5a5 100644 (file)
@@ -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