diff options
Diffstat (limited to 'src/bin/pg_basebackup/pg_receivewal.c')
-rw-r--r-- | src/bin/pg_basebackup/pg_receivewal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_basebackup/pg_receivewal.c b/src/bin/pg_basebackup/pg_receivewal.c index 8a4c2b89646..e2ceafeb0f5 100644 --- a/src/bin/pg_basebackup/pg_receivewal.c +++ b/src/bin/pg_basebackup/pg_receivewal.c @@ -32,7 +32,7 @@ #include "receivelog.h" #include "streamutil.h" -#ifdef HAVE_LIBLZ4 +#ifdef USE_LZ4 #include "lz4frame.h" #endif @@ -382,7 +382,7 @@ FindStreamingStart(uint32 *tli) } else if (!ispartial && wal_compression_method == COMPRESSION_LZ4) { -#ifdef HAVE_LIBLZ4 +#ifdef USE_LZ4 #define LZ4_CHUNK_SZ 64 * 1024 /* 64kB as maximum chunk size read */ int fd; ssize_t r; @@ -889,7 +889,7 @@ main(int argc, char **argv) #endif break; case COMPRESSION_LZ4: -#ifdef HAVE_LIBLZ4 +#ifdef USE_LZ4 if (compresslevel != 0) { pg_log_error("cannot use --compress with --compression-method=%s", |