diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-10 18:08:15 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-10 18:08:15 +0100 |
commit | 90490113af9cef092b36c5ee0231c11675ed9f51 (patch) | |
tree | 60d2befe60fa8b6172da9eee7a1d9702a612468e /src/map.h | |
parent | c9f79972baefb00e3c86a96e7a448c124bde7693 (diff) | |
download | libgit2-90490113af9cef092b36c5ee0231c11675ed9f51.tar.gz |
Basic mmap/munmap compatiblity
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |