Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-10 21:08:15 +0400
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-10 21:08:15 +0400
commit90490113af9cef092b36c5ee0231c11675ed9f51 (patch)
tree60d2befe60fa8b6172da9eee7a1d9702a612468e /src/map.h
parentc9f79972baefb00e3c86a96e7a448c124bde7693 (diff)
Basic mmap/munmap compatiblity
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 96d879547..6ce6d3685 100644
--- a/src/map.h
+++ b/src/map.h
@@ -23,6 +23,10 @@
#define GIT_MAP_TYPE 0xf
#define GIT_MAP_FIXED 0x10
+#ifdef __amigaos4__
+#define MAP_FAILED 0
+#endif
+
typedef struct { /* memory mapped buffer */
void *data; /* data bytes */
size_t len; /* data length */