Generic needs compat files

This commit is contained in:
Chris Young 2012-06-08 19:15:11 +01:00
parent aa5a92d121
commit fa56478fb8
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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