Skip to content

Commit

Permalink
[fix](compile) Fix MacOS compile error with conditional variable defi…
Browse files Browse the repository at this point in the history
…nition (#34762)
  • Loading branch information
zy-kkk authored May 13, 2024
1 parent 2e3eb67 commit 638f48e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions be/src/io/fs/hdfs_file_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ bvar::Adder<uint64_t> hdfs_file_created_total("hdfs_file_writer_file_created");
bvar::Adder<uint64_t> hdfs_file_being_written("hdfs_file_writer_file_being_written");

static constexpr size_t MB = 1024 * 1024;
#ifndef USE_LIBHDFS3
static constexpr size_t CLIENT_WRITE_PACKET_SIZE = 64 * 1024; // 64 KB
#endif

inline std::default_random_engine make_random_engine() {
return std::default_random_engine(
Expand Down

0 comments on commit 638f48e

Please sign in to comment.