[PATCH] COMP: mingw portability.

Bill Lorensen bill.lorensen at gmail.com
Sat Aug 21 11:01:58 EDT 2010


---
 Utilities/openjpeg/openjpeg.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Utilities/openjpeg/openjpeg.h b/Utilities/openjpeg/openjpeg.h
index 7bb3552..d5e76b2 100644
--- a/Utilities/openjpeg/openjpeg.h
+++ b/Utilities/openjpeg/openjpeg.h
@@ -33,7 +33,7 @@
 #ifndef OPENJPEG_H
 #define OPENJPEG_H

-#if defined(OPJ_STATIC) || !(defined(WIN32) || defined(__WIN32__))
+#if defined(OPJ_STATIC) || (!defined(WIN32) && !defined(__MINGW32__))
|| defined(__WIN32__)
   #define OPJ_API
   #define OPJ_CALLCONV
 #else
-- 
1.7.0.2.msysgit.0


More information about the Insight-developers mailing list