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
8d89c8e9
Commit
8d89c8e9
authored
May 07, 2012
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #672 from scottjg/more-mingw32-fixes
More mingw32 compilation fixes.
parents
cba285d3
901fbdad
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
2 deletions
+1
-2
CMakeLists.txt
+1
-1
src/netops.c
+0
-1
tests-clar/clar
+0
-0
No files found.
CMakeLists.txt
View file @
8d89c8e9
...
@@ -96,7 +96,7 @@ FILE(GLOB SRC_H include/git2/*.h)
...
@@ -96,7 +96,7 @@ FILE(GLOB SRC_H include/git2/*.h)
# On Windows use specific platform sources
# On Windows use specific platform sources
IF
(
WIN32 AND NOT CYGWIN
)
IF
(
WIN32 AND NOT CYGWIN
)
ADD_DEFINITIONS
(
-DWIN32 -D_DEBUG
)
ADD_DEFINITIONS
(
-DWIN32 -D_DEBUG
-D_WIN32_WINNT=0x0501
)
FILE
(
GLOB SRC src/*.c src/transports/*.c src/xdiff/*.c src/win32/*.c
)
FILE
(
GLOB SRC src/*.c src/transports/*.c src/xdiff/*.c src/win32/*.c
)
ELSE
()
ELSE
()
FILE
(
GLOB SRC src/*.c src/transports/*.c src/xdiff/*.c src/unix/*.c
)
FILE
(
GLOB SRC src/*.c src/transports/*.c src/xdiff/*.c src/unix/*.c
)
...
...
src/netops.c
View file @
8d89c8e9
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
# include <sys/time.h>
# include <sys/time.h>
# include <netdb.h>
# include <netdb.h>
#else
#else
# define _WIN32_WINNT 0x0501
# include <winsock2.h>
# include <winsock2.h>
# include <Ws2tcpip.h>
# include <Ws2tcpip.h>
# ifdef _MSC_VER
# ifdef _MSC_VER
...
...
tests-clar/clar
View file @
8d89c8e9
This diff is collapsed.
Click to expand it.
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