From 7e734710be0098ea77ca2d3f54fb626b65bbf477 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 25 Jan 2014 15:08:30 +0100 Subject: Possible for for cygwin compilation. --- hugin.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hugin.h b/hugin.h index 393ce1c..768cdcf 100644 --- a/hugin.h +++ b/hugin.h @@ -28,6 +28,12 @@ #ifndef __HUGIN_HUGIN_H__ #define __HUGIN_HUGIN_H__ +#if defined(__WIN32__) | defined(__CYGWIN32__) +#ifndef WIN32 +#define WIN32 +#endif +#endif + typedef enum { HUG_STATUS_OK = 0, HUG_STATUS_UNKNOWN_OPTION, -- cgit v1.2.3