diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-01-25 15:21:28 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-01-25 15:21:28 +0000 |
| commit | ec2b3b3b3f79722a05e8a2d8742cebb674ce0bce (patch) | |
| tree | b63a2a033f69d599065600651fbd76a276e48aee | |
| parent | b9b72f1951634cf3ed45535e90a488906a99f976 (diff) | |
COMP: Fix compilation on mingw (already had itoa) and borland (need __int64)
| -rw-r--r-- | libopenjpeg/event.c | 2 | ||||
| -rw-r--r-- | libopenjpeg/fix.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/event.c b/libopenjpeg/event.c index 0826046f..bdf326a0 100644 --- a/libopenjpeg/event.c +++ b/libopenjpeg/event.c @@ -30,7 +30,7 @@ Utility functions ==========================================================*/ -#ifndef _MSC_VER +#if !defined(_MSC_VER) && !defined(__MINGW32__) static char* i2a(unsigned i, char *a, unsigned r) { if (i/r > 0) a = i2a(i/r,a,r); diff --git a/libopenjpeg/fix.c b/libopenjpeg/fix.c index 0f5f49b4..e9ba82be 100644 --- a/libopenjpeg/fix.c +++ b/libopenjpeg/fix.c @@ -30,7 +30,7 @@ #include "fix.h" -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__BORLANDC__) #define int64 __int64 #else #define int64 long long |
