orte/util: fix OPAL_HAVE_ZLIB usage
use #if instead of #ifdef Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Этот коммит содержится в:
родитель
4917e44a7d
Коммит
d4d4cab5bf
@ -1,5 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2016-2017 Intel, Inc. All rights reserved.
|
* Copyright (c) 2016-2017 Intel, Inc. All rights reserved.
|
||||||
|
* Copyright (c) 2017 Research Organization for Information Science
|
||||||
|
* and Technology (RIST). All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -21,7 +23,7 @@
|
|||||||
#include "opal/util/output.h"
|
#include "opal/util/output.h"
|
||||||
#include "compress.h"
|
#include "compress.h"
|
||||||
|
|
||||||
#ifdef OPAL_HAVE_ZLIB
|
#if OPAL_HAVE_ZLIB
|
||||||
bool orte_util_compress_block(uint8_t *inbytes,
|
bool orte_util_compress_block(uint8_t *inbytes,
|
||||||
size_t inlen,
|
size_t inlen,
|
||||||
uint8_t **outbytes,
|
uint8_t **outbytes,
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user