Merge pull request #26 from polluks/main

Support of more platforms
This commit is contained in:
drmortalwombat 2023-07-27 18:30:20 +02:00 committed by GitHub
commit f6f2b4c37e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,10 +16,10 @@ typedef __int64 int64;
typedef unsigned __int64 uint64;
#define MAXPATHLEN _MAX_PATH
#else
#if __APPLE__
#include "limits.h"
#else /* __linux__ */
#if __linux__
#include "linux/limits.h"
#else /* __APPLE__ */
#include "limits.h"
#endif
typedef long long int64;
@ -105,4 +105,4 @@ inline int64 int64max(int64 a, int64 b)
inline int64 int64min(int64 a, int64 b)
{
return a < b ? a : b;
}
}