From 9f446c88e874effa5eca6432b0f0faf3a7ce4784 Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Sun, 22 Aug 2010 00:29:14 +0000 Subject: [PATCH] Fix contributed by Bill Lorensen, to make it build in MinGW. --- libopenjpeg/openjpeg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h index 916755b3..5dbb1b25 100644 --- a/libopenjpeg/openjpeg.h +++ b/libopenjpeg/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