Skip to content

Commit

Permalink
fix: macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
kostasrim committed Aug 21, 2024
1 parent 4835b5d commit 7a69ca0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/facade/reply_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
#include "facade/error.h"
#include "util/fibers/proactor_base.h"

#ifdef __APPLE__
#ifndef IOV_MAX
// Some versions of MacOSX dont have IOV_MAX
#define IOV_MAX 1024
#endif
#endif

using namespace std;
using absl::StrAppend;
using namespace double_conversion;
Expand Down

0 comments on commit 7a69ca0

Please sign in to comment.