summaryrefslogtreecommitdiff
path: root/hugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'hugin.h')
-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,