mirror of https://github.com/madler/zlib
Fix '--zprefix' feature.
Configuring with '--zprefix' allows building zlib with all exported symbols prefixed by 'z_'. Unfortunately, 'z_errmsg' was forgotten and is not prefixed. This change fixes the problem.
This commit is contained in:
parent
d71dc66fa8
commit
0417609a7f
1
zconf.h
1
zconf.h
|
@ -130,6 +130,7 @@
|
|||
# define uncompress2 z_uncompress2
|
||||
# endif
|
||||
# define zError z_zError
|
||||
# define z_errmsg z_z_errmsg
|
||||
# ifndef Z_SOLO
|
||||
# define zcalloc z_zcalloc
|
||||
# define zcfree z_zcfree
|
||||
|
|
|
@ -132,6 +132,7 @@
|
|||
# define uncompress2 z_uncompress2
|
||||
# endif
|
||||
# define zError z_zError
|
||||
# define z_errmsg z_z_errmsg
|
||||
# ifndef Z_SOLO
|
||||
# define zcalloc z_zcalloc
|
||||
# define zcfree z_zcfree
|
||||
|
|
|
@ -130,6 +130,7 @@
|
|||
# define uncompress2 z_uncompress2
|
||||
# endif
|
||||
# define zError z_zError
|
||||
# define z_errmsg z_z_errmsg
|
||||
# ifndef Z_SOLO
|
||||
# define zcalloc z_zcalloc
|
||||
# define zcfree z_zcfree
|
||||
|
|
Loading…
Reference in New Issue