summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2023-02-14 15:26:23 +0000
committerGitHub <noreply@github.com>2023-02-14 15:26:23 +0000
commit1119326aadfca4062679722b3ed975b569bcc0cf (patch)
tree4993dd0bd2a3a012807d6e072f16969f7e81c110
parent0362ecd6f1c8f0a1c798634deee490ba572b7b9a (diff)
parent062f5697d1d8640911138cbe319ad29798b69240 (diff)
downloadlibgit2-1119326aadfca4062679722b3ed975b569bcc0cf.tar.gz
Merge pull request #6376 from bzEq/bzEq/aix-int64
Define correct off64_t for AIX
-rw-r--r--src/util/posix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/posix.h b/src/util/posix.h
index c8f8cd9d2..607aa9dce 100644
--- a/src/util/posix.h
+++ b/src/util/posix.h
@@ -104,6 +104,8 @@ typedef __int64 off64_t;
typedef __haiku_std_int64 off64_t;
#elif defined(__APPLE__)
typedef __int64_t off64_t;
+#elif defined(_AIX)
+typedef long long off64_t;
#else
typedef int64_t off64_t;
#endif