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
0448310f
Commit
0448310f
authored
Jul 09, 2011
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #311 from nulltoken/ntk/fix-win32-specs
Ntk/fix win32 specs
parents
06c43821
ae2e4c6a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
src/reflog.c
+1
-1
src/tsort.c
+1
-1
src/util.c
+1
-1
src/win32/posix.c
+1
-1
No files found.
src/reflog.c
View file @
0448310f
...
...
@@ -105,7 +105,7 @@ static int reflog_write(git_repository *repo, const char *ref_name,
static
int
reflog_parse
(
git_reflog
*
log
,
const
char
*
buf
,
size_t
buf_size
)
{
int
error
;
int
error
=
GIT_SUCCESS
;
const
char
*
ptr
;
git_reflog_entry
*
entry
;
...
...
src/tsort.c
View file @
0448310f
...
...
@@ -18,7 +18,7 @@
#if defined(__GNUC__)
# define CLZ(x) __builtin_clz(x)
#elif defined(_MS
V
_VER)
#elif defined(_MS
C
_VER)
# define CLZ(x) _CountLeadingZeros(x)
#else
int
CLZ
(
int32_t
x
)
...
...
src/util.c
View file @
0448310f
...
...
@@ -5,7 +5,7 @@
#include <ctype.h>
#include "posix.h"
#ifdef _MS
V
_VER
#ifdef _MS
C
_VER
# include <Shlwapi.h>
#endif
...
...
src/win32/posix.c
View file @
0448310f
...
...
@@ -211,7 +211,7 @@ char *p_realpath(const char *orig_path, char *buffer)
int
p_vsnprintf
(
char
*
buffer
,
size_t
count
,
const
char
*
format
,
va_list
argptr
)
{
#ifdef _MS
V
_VER
#ifdef _MS
C
_VER
int
len
=
_vsnprintf
(
buffer
,
count
,
format
,
argptr
);
return
(
len
<
0
)
?
_vscprintf
(
format
,
argptr
)
:
len
;
#else
/* MinGW */
...
...
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