Fix contributed by Bill Lorensen, to make it build in MinGW.
This commit is contained in:
parent
2f9e80da9c
commit
9f446c88e8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue