diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-08 19:15:11 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-08 19:15:11 +0100 |
commit | fa56478fb8d5e19d64bf43b51372ab3315cb1884 (patch) | |
tree | 52eb9ba7cbd27c675d7732e7c2ed8a6c44a29eea | |
parent | aa5a92d121d4fcc56d9661ce1c76534b410784c7 (diff) | |
download | libgit2-fa56478fb8d5e19d64bf43b51372ab3315cb1884.tar.gz |
Generic needs compat files
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | include/git2/common.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d3ab19ce3..7d3df285e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,7 +115,7 @@ FILE(GLOB SRC_H include/git2/*.h) IF (WIN32 AND NOT CYGWIN) ADD_DEFINITIONS(-DWIN32 -D_DEBUG -D_WIN32_WINNT=0x0501) FILE(GLOB SRC src/*.c src/transports/*.c src/xdiff/*.c src/win32/*.c src/compat/*.c) -ELSEIF (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)") +ELSEIF (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS|Generic)") FILE(GLOB SRC src/*.c src/transports/*.c src/xdiff/*.c src/unix/*.c src/compat/*.c) ELSE() FILE(GLOB SRC src/*.c src/transports/*.c src/xdiff/*.c src/unix/*.c) diff --git a/include/git2/common.h b/include/git2/common.h index b692c67e2..045ba85c4 100644 --- a/include/git2/common.h +++ b/include/git2/common.h @@ -107,7 +107,7 @@ GIT_EXTERN(int) git_strarray_copy(git_strarray *tgt, const git_strarray *src); */ GIT_EXTERN(void) git_libgit2_version(int *major, int *minor, int *rev); -GIT_EXTERN(int) p_fnmatch(const char *pattern, const char *string, int flags); +/* GIT_EXTERN(int) p_fnmatch(const char *pattern, const char *string, int flags); */ /** @} */ GIT_END_DECL |