Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
squash! deps: suppress zlib compiler warnings
Move cflags into conditions section and only enable for non-windows
architectures.
  • Loading branch information
danbev committed Oct 11, 2021
commit 9f53d9ab898babfc5383744ac673ab05e53f862a
2 changes: 1 addition & 1 deletion deps/zlib/zlib.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
'.',
],
},
'cflags': [ '-Wno-implicit-fallthrough' ],
'conditions': [
['OS!="win"', {
'cflags!': [ '-ansi' ],
'cflags': [ '-Wno-implicit-fallthrough' ],
'defines': [ 'HAVE_HIDDEN' ],
}],
['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', {
Expand Down