diff options
| author | Antonin Descampe <antonin@gmail.com> | 2010-11-25 11:58:26 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2010-11-25 11:58:26 +0000 |
| commit | 389166e86e14a3a09ccf3d28ca0ee64968c5de45 (patch) | |
| tree | 484795d3ca90f83d4ba6eb7001098ac4622f0b7a /libopenjpeg/openjpeg.c | |
| parent | 2b31495723e04ef79395c718b422d6fa6e6e1979 (diff) | |
fix compilation and DLL creation of libopenjpeg with MSYS/MinGW (from vincent.torri, see issue 47 on googlecode)
Diffstat (limited to 'libopenjpeg/openjpeg.c')
| -rw-r--r-- | libopenjpeg/openjpeg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libopenjpeg/openjpeg.c b/libopenjpeg/openjpeg.c index 56c82f81..6722b33d 100644 --- a/libopenjpeg/openjpeg.c +++ b/libopenjpeg/openjpeg.c @@ -24,15 +24,15 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> -#endif /* WIN32 */ +#endif /* _WIN32 */ #include "opj_config.h" #include "opj_includes.h" /* ---------------------------------------------------------------------- */ -#ifdef WIN32 +#ifdef _WIN32 #ifndef OPJ_STATIC BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { @@ -49,7 +49,7 @@ DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { return TRUE; } #endif /* OPJ_STATIC */ -#endif /* WIN32 */ +#endif /* _WIN32 */ /* ---------------------------------------------------------------------- */ |
