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
975eda2d
Commit
975eda2d
authored
May 18, 2011
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #196 from sschuberth/cmake-msvc2010
Cmake msvc2010
parents
c9662061
765fdf4a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
.gitignore
+4
-2
src/config_file.c
+1
-1
src/msvc-compat.h
+4
-0
No files found.
.gitignore
View file @
975eda2d
/apidocs
/trash-*.exe
/libgit2.pc
...
...
@@ -15,8 +14,11 @@ build/
tests/tmp/
msvc/Debug/
msvc/Release/
*.sln
*.suo
*.
user
*.
vc*proj*
*.sdf
*.opensdf
CMake*
*.cmake
.DS_Store
src/config_file.c
View file @
975eda2d
...
...
@@ -565,7 +565,7 @@ void cfg_consume_line(file_backend *cfg)
cfg
->
reader
.
read_ptr
=
line_end
;
}
static
inline
int
config_keychar
(
int
c
)
GIT_INLINE
(
int
)
config_keychar
(
int
c
)
{
return
isalnum
(
c
)
||
c
==
'-'
;
}
...
...
src/msvc-compat.h
View file @
975eda2d
...
...
@@ -17,6 +17,10 @@
# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
# define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO)
/* case-insensitive string comparision */
# define strcasecmp _stricmp
# define strncasecmp _strnicmp
#if (_MSC_VER >= 1600)
# include <stdint.h>
#else
...
...
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