fix compilation and DLL creation of libopenjpeg with MSYS/MinGW (from vincent.torri, see issue 47 on googlecode)

This commit is contained in:
Antonin Descampe
2010-11-25 11:58:26 +00:00
parent 2b31495723
commit 389166e86e
6 changed files with 18 additions and 15 deletions

View File

@@ -30,7 +30,7 @@
Utility functions
==========================================================*/
#if !defined(_MSC_VER) && !defined(__MINGW32__)
#ifndef _WIN32
static char*
i2a(unsigned i, char *a, unsigned r) {
if (i/r > 0) a = i2a(i/r,a,r);
@@ -57,7 +57,7 @@ _itoa(int i, char *a, int r) {
return a;
}
#endif /* !WIN32 */
#endif /* !_WIN32 */
/* ----------------------------------------------------------------------- */