Permalink
Browse files

deps: hide zlib internal symbols

Use HAVE_HIDDEN when compiling zlib so it's internal symbols
have __attribute__((visibility ("hidden"))).

PR-URL: #11082
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
  • Loading branch information...
sam-github authored and jasnell committed Jan 31, 2017
1 parent 58dc229 commit c9e5178f3c4081abdb1f2a138da6f8a4114d4905
Showing with 1 addition and 1 deletion.
  1. +1 −1 deps/zlib/zlib.gyp
View
@@ -51,7 +51,7 @@
'conditions': [
['OS!="win"', {
'cflags!': [ '-ansi' ],
'defines': [ 'Z_HAVE_UNISTD_H' ],
'defines': [ 'Z_HAVE_UNISTD_H', 'HAVE_HIDDEN' ],
}],
['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', {
# Mac, Android and the BSDs don't have fopen64, ftello64, or

0 comments on commit c9e5178

Please sign in to comment.