Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
fa56478f
Commit
fa56478f
authored
Jun 08, 2012
by
Chris Young
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generic needs compat files
parent
aa5a92d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
+1
-1
include/git2/common.h
+1
-1
No files found.
CMakeLists.txt
View file @
fa56478f
...
...
@@ -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
)
...
...
include/git2/common.h
View file @
fa56478f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment