Skip to content

Commit d4d4cab

Browse files
committed
orte/util: fix OPAL_HAVE_ZLIB usage
use #if instead of #ifdef Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 4917e44 commit d4d4cab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

orte/util/compress.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Copyright (c) 2016-2017 Intel, Inc. All rights reserved.
3+
* Copyright (c) 2017 Research Organization for Information Science
4+
* and Technology (RIST). All rights reserved.
35
* $COPYRIGHT$
46
*
57
* Additional copyrights may follow
@@ -21,7 +23,7 @@
2123
#include "opal/util/output.h"
2224
#include "compress.h"
2325

24-
#ifdef OPAL_HAVE_ZLIB
26+
#if OPAL_HAVE_ZLIB
2527
bool orte_util_compress_block(uint8_t *inbytes,
2628
size_t inlen,
2729
uint8_t **outbytes,

0 commit comments

Comments
 (0)