COMP: Fix compilation on mingw (already had itoa) and borland (need __int64)

This commit is contained in:
Mathieu Malaterre 2006-01-25 15:21:28 +00:00
parent b9b72f1951
commit ec2b3b3b3f
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -30,7 +30,7 @@
#include "fix.h" #include "fix.h"
#ifdef _MSC_VER #if defined(_MSC_VER) || defined(__BORLANDC__)
#define int64 __int64 #define int64 __int64
#else #else
#define int64 long long #define int64 long long