COMP: Fix compilation on mingw (already had itoa) and borland (need __int64)
This commit is contained in:
parent
b9b72f1951
commit
ec2b3b3b3f
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue