Commit d1015a0b authored by Dan Melnic's avatar Dan Melnic Committed by Facebook GitHub Bot

Remove FOLLY_HAVE_MSG_ERRQUEUE check

Summary: Remove FOLLY_HAVE_MSG_ERRQUEUE check

Reviewed By: yfeldblum

Differential Revision: D24295244

fbshipit-source-id: 24d4a69a013951b37fe7c93539b26eedf8113360
parent 81e350e1
...@@ -42,7 +42,7 @@ class AsyncUDPSocket : public EventHandler { ...@@ -42,7 +42,7 @@ class AsyncUDPSocket : public EventHandler {
public: public:
struct OnDataAvailableParams { struct OnDataAvailableParams {
int gro_ = -1; int gro_ = -1;
#ifdef FOLLY_HAVE_MSG_ERRQUEUE
// RX timestamp if available // RX timestamp if available
using Timestamp = std::array<struct timespec, 3>; using Timestamp = std::array<struct timespec, 3>;
folly::Optional<Timestamp> ts_; folly::Optional<Timestamp> ts_;
...@@ -53,7 +53,6 @@ class AsyncUDPSocket : public EventHandler { ...@@ -53,7 +53,6 @@ class AsyncUDPSocket : public EventHandler {
return std::chrono::duration_cast<std::chrono::nanoseconds>(duration); return std::chrono::duration_cast<std::chrono::nanoseconds>(duration);
} }
#endif
}; };
/** /**
* Invoked when the socket becomes readable and we want buffer * Invoked when the socket becomes readable and we want buffer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment