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
ae2e4c6a
Commit
ae2e4c6a
authored
Jul 09, 2011
by
nulltoken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32: replace usage of _MSV_VER with _MSC_VER
parent
38ce60f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/tsort.c
+1
-1
src/util.c
+1
-1
src/win32/posix.c
+1
-1
No files found.
src/tsort.c
View file @
ae2e4c6a
...
...
@@ -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 @
ae2e4c6a
...
...
@@ -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 @
ae2e4c6a
...
...
@@ -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