Commit 2c0ec236e984c62f74c0a4c2ee3eb4277fb7ffd1

Ankur Sethi 2011-06-23T13:36:09

added defines for Haiku in types.h

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/include/git2/types.h b/include/git2/types.h
index b569e83..499ba98 100644
--- a/include/git2/types.h
+++ b/include/git2/types.h
@@ -59,6 +59,11 @@ typedef __time64_t  git_time_t;
 typedef off64_t git_off_t;
 typedef __time64_t git_time_t;
 
+#elif defined(__HAIKU__)
+
+typedef __haiku_std_int64 git_off_t;
+typedef __haiku_std_int64 git_time_t;
+
 #else  /* POSIX */
 
 /*