diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-13 23:16:14 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-13 23:16:14 +0100 |
commit | 96ef3d84629ef72fb662d95abbab3de634921678 (patch) | |
tree | 1859c8ce4b577acce3c5561d7f749f5a23574d58 /src/posix.h | |
parent | 2aeadb9c78df4b463ffb3293e242e19a7e0d17a9 (diff) | |
download | libgit2-96ef3d84629ef72fb662d95abbab3de634921678.tar.gz |
Make this more generic and mergeable.
Needs AmigaOS.cmake now from CMake package at OS4Depot, or contents below:
--8<--
SET(AMIGA 1)
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
--8<--
Diffstat (limited to 'src/posix.h')
-rw-r--r-- | src/posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posix.h b/src/posix.h index 8e8b394c8..35118f968 100644 --- a/src/posix.h +++ b/src/posix.h @@ -74,7 +74,7 @@ typedef SOCKET GIT_SOCKET; # include "unix/posix.h" #endif -#ifndef __amigaos4__ +#ifndef NO_READDIR_R #define p_readdir_r(d,e,r) readdir_r(d,e,&r) #else #define p_readdir_r(d,e,r) r = readdir(d) |