Support of more platforms
See http://aminet.net/package/dev/cross/oscar64
This commit is contained in:
parent
4c5a9c3b70
commit
312265c395
|
@ -16,10 +16,10 @@ typedef __int64 int64;
|
||||||
typedef unsigned __int64 uint64;
|
typedef unsigned __int64 uint64;
|
||||||
#define MAXPATHLEN _MAX_PATH
|
#define MAXPATHLEN _MAX_PATH
|
||||||
#else
|
#else
|
||||||
#if __APPLE__
|
#if __linux__
|
||||||
#include "limits.h"
|
|
||||||
#else /* __linux__ */
|
|
||||||
#include "linux/limits.h"
|
#include "linux/limits.h"
|
||||||
|
#else /* __APPLE__ */
|
||||||
|
#include "limits.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef long long int64;
|
typedef long long int64;
|
||||||
|
@ -105,4 +105,4 @@ inline int64 int64max(int64 a, int64 b)
|
||||||
inline int64 int64min(int64 a, int64 b)
|
inline int64 int64min(int64 a, int64 b)
|
||||||
{
|
{
|
||||||
return a < b ? a : b;
|
return a < b ? a : b;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue