Skip to content

Commit

Permalink
Converted VC6 project to use zlib121, fixed some link warnings that
Browse files Browse the repository at this point in the history
Z_PREFIX=1 missed by default, enabled Z_PREFIX=1 by default in VC6
dsp file, updated changelog.
  • Loading branch information
bhook committed Dec 22, 2003
1 parent 0286626 commit 86dc6d9
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 71 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG
@@ -1,7 +1,10 @@
/*
* CHANGELOG.
*/

12222003 - Converted VC6 .dsp to use zlib121; made Z_PREFIX=1 enabled by
default to avoid link clashes; put zlib files in separate
logical folder in .dsp project; updated zlib121/zconf.h to
address remaining symbols that were still causing link warnings
12222003 - Fixed a search-and-replace mistake in win32.c that preventing
compiling on Windows. (thanks, Brian!)
12182003 - WAD archiver now puts maps into subdirectories, making them
Expand Down
92 changes: 23 additions & 69 deletions physfs_static.dsp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 23 additions & 1 deletion zlib121/zconf.h
Expand Up @@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/

/* @(#) $Id: zconf.h,v 1.1 2003/12/07 05:29:20 icculus Exp $ */
/* @(#) $Id: zconf.h,v 1.2 2003/12/22 18:19:09 bhook Exp $ */

#ifndef ZCONF_H
#define ZCONF_H
Expand Down Expand Up @@ -50,6 +50,28 @@
# define uLongf z_uLongf
# define voidpf z_voidpf
# define voidp z_voidp

# define inflate_table z_inflate_table
# define inflate_copyright z_inflate_copyright
# define inflate_fast z_inflate_fast
# define inflateBackInit_ z_inflateBackInit_
# define inflateBack z_inflateBack
# define inflateBackEnd z_inflateBackEnd
# define deflate_copyright z_deflate_copyright
# define zlibVersion z_zlibVersion
# define zlibCompileFlags z_zlibCompileFlags
# define zError z_zError
# define zcalloc z_zcalloc
# define zcfree z_zcfree
# define z_errmsg z_z_errmsg
# define _tr_init z_tr_init
# define _tr_stored_block z_tr_stored_block
# define _tr_flush_block z_tr_flush_block
# define _tr_tally z_tr_tally
# define _length_code z_length_code
# define _dist_code z_dist_code
# define _tr_align z_tr_align

#endif

#if defined(__MSDOS__) && !defined(MSDOS)
Expand Down

0 comments on commit 86dc6d9

Please sign in to comment.