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/event.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/event.c')
| -rw-r--r-- | libopenjpeg/event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/event.c b/libopenjpeg/event.c index 291ff585..953a9973 100644 --- a/libopenjpeg/event.c +++ b/libopenjpeg/event.c @@ -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 */ /* ----------------------------------------------------------------------- */ |
