Skip to content

Commit

Permalink
[mt972] Rename compress.c to compress_zlib.c Build projects that incl…
Browse files Browse the repository at this point in the history
…ude bzip2 and zlib has conflicts like StormLib due to same name files, at least under VS. So rename it to bypass the trouble and use only one copy of Zlib for all projects.
  • Loading branch information
Undergarun committed May 4, 2014
1 parent 1772504 commit c9a77ca
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contrib/mmap/CMakeLists.txt
Expand Up @@ -34,7 +34,7 @@ include_directories(

add_library(zlib
../../dep/src/zlib/adler32.c
../../dep/src/zlib/compress.c
../../dep/src/zlib/compress_zlib.c
../../dep/src/zlib/crc32.c
../../dep/src/zlib/deflate.c
../../dep/src/zlib/example.c
Expand Down
2 changes: 1 addition & 1 deletion dep/StormLib/CMakeLists.txt
Expand Up @@ -226,7 +226,7 @@ set(ZLIB_BZIP2_FILES
../src/bzip2/huffman.c
../src/bzip2/randtable.c
../src/zlib/adler32.c
../src/zlib/compress.c
../src/zlib/compress_zlib.c
../src/zlib/crc32.c
../src/zlib/deflate.c
../src/zlib/inffast.c
Expand Down
2 changes: 1 addition & 1 deletion dep/src/zlib/CMakeLists.txt
Expand Up @@ -18,7 +18,7 @@

set(zlib_SRCS
adler32.c
compress.c
compress_zlib.c
crc32.c
deflate.c
example.c
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/shared/revision_R2.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_R2_H__
#define __REVISION_R2_H__
#define REVISION_R2 "971"
#define REVISION_R2 "972"
#endif // __REVISION_R2_H__

0 comments on commit c9a77ca

Please sign in to comment.