Fix contributed by Bill Lorensen, to make it build in MinGW.

This commit is contained in:
Luis Ibanez 2010-08-22 00:29:14 +00:00
parent 2f9e80da9c
commit 9f446c88e8
1 changed files with 1 additions and 1 deletions

View File

@ -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