Skip to content

Conversation

@jsquyres
Copy link
Member

@jsquyres jsquyres commented Feb 7, 2017

It's possible that we can have zlib.h but still not have zlib support. Use the correct macro to protect the usage of calling zlib functions.

This fixes 32-bit MTT builds at Cisco (e.g., https://mtt.open-mpi.org/index.php?do_redir=2389).

Submitted upstream to PMIX: openpmix/openpmix#290

Signed-off-by: Jeff Squyres jsquyres@cisco.com

It's possible that we can have zlib.h but still not have zlib support.
Use the correct macro to protect the usage of calling zlib functions.

This fixes 32-bit MTT builds at Cisco (e.g.,
https://mtt.open-mpi.org/index.php?do_redir=2389).

Submitted upstream to PMIX: openpmix/openpmix#290

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
@jsquyres jsquyres added the bug label Feb 7, 2017
@jsquyres jsquyres requested review from artpol84 and jjhursey February 7, 2017 13:54
Copy link
Member

@jjhursey jjhursey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch. Thanks!

@jsquyres jsquyres merged commit 0bf5ece into open-mpi:master Feb 7, 2017
@jsquyres jsquyres deleted the pr/fix-pmix-zlib-protection branch February 7, 2017 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants