Skip to content

Commit 0bf5ece

Browse files
authored
Merge pull request #2935 from jsquyres/pr/fix-pmix-zlib-protection
pmix: fix zlib protection macro usage
2 parents 4018409 + 100b112 commit 0bf5ece

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opal/mca/pmix/pmix2x/pmix/src/util/compress.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2016 Intel, Inc. All rights reserved.
3+
* Copyright (c) 2017 Cisco Systems, Inc. All rights reserved.
34
* $COPYRIGHT$
45
*
56
* Additional copyrights may follow
@@ -21,7 +22,7 @@
2122
#include "src/include/pmix_globals.h"
2223
#include "src/util/compress.h"
2324

24-
#ifdef HAVE_ZLIB_H
25+
#if PMIX_HAVE_ZLIB
2526
bool pmix_util_compress_string(char *instring,
2627
uint8_t **outbytes,
2728
size_t *nbytes)

0 commit comments

Comments
 (0)