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
ec626853
Commit
ec626853
authored
Jul 01, 2011
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zlib: Declare preprocessor directives at build time
parent
17d52304
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
5 deletions
+1
-5
CMakeLists.txt
+1
-1
deps/zlib/zconf.h
+0
-4
No files found.
CMakeLists.txt
View file @
ec626853
...
@@ -70,7 +70,7 @@ IF (WIN32 AND NOT CYGWIN)
...
@@ -70,7 +70,7 @@ IF (WIN32 AND NOT CYGWIN)
FILE
(
GLOB SRC src/*.c src/win32/*.c
)
FILE
(
GLOB SRC src/*.c src/win32/*.c
)
ENDIF
()
ENDIF
()
ADD_DEFINITIONS
(
-D_FILE_OFFSET_BITS=64
)
ADD_DEFINITIONS
(
-D_FILE_OFFSET_BITS=64
-DNO_VIZ -DSTDC -DNO_GZIP
)
# Compile and link libgit2
# Compile and link libgit2
ADD_LIBRARY
(
git2
${
SRC
}
${
SRC_ZLIB
}
)
ADD_LIBRARY
(
git2
${
SRC
}
${
SRC_ZLIB
}
)
...
...
deps/zlib/zconf.h
View file @
ec626853
...
@@ -10,10 +10,6 @@
...
@@ -10,10 +10,6 @@
#include "../../src/common.h"
#include "../../src/common.h"
#define NO_GZIP
#define STDC
#define NO_VIZ
/* Jeez, don't complain about non-prototype
/* Jeez, don't complain about non-prototype
* forms, we didn't write zlib */
* forms, we didn't write zlib */
#if defined(_MSC_VER)
#if defined(_MSC_VER)
...
...
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