summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-01-25 15:08:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2014-01-25 15:08:30 +0100
commit7e734710be0098ea77ca2d3f54fb626b65bbf477 (patch)
treef5f28752e0c0bc08c0b730903c566320c11292b8
parent8916da62a752e2c3658b9c9d1ed3fc5a67c4501d (diff)
Possible for for cygwin compilation.20140125
-rw-r--r--hugin.h6
1 files changed, 6 insertions, 0 deletions
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,