X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Fio%2Fasync%2Ftest%2FAsyncSSLSocketTest.h;h=7a05fbbc8ea5d995dd0751add4d059643fccdaa4;hp=0ee1287318ea8f4e458bf685a2b3136867aa4722;hb=HEAD;hpb=f2925b23df8d85ebca72d62a69f1282528c086de diff --git a/folly/io/async/test/AsyncSSLSocketTest.h b/folly/io/async/test/AsyncSSLSocketTest.h index 0ee12873..7a05fbbc 100644 --- a/folly/io/async/test/AsyncSSLSocketTest.h +++ b/folly/io/async/test/AsyncSSLSocketTest.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Facebook, Inc. + * Copyright 2012-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -186,7 +186,7 @@ public WriteCallbackBase { } }; -#ifdef MSG_ERRQUEUE +#ifdef FOLLY_HAVE_MSG_ERRQUEUE /* copied from include/uapi/linux/net_tstamp.h */ /* SO_TIMESTAMPING gets an integer bit field comprised of these values */ enum SOF_TIMESTAMPING { @@ -276,7 +276,7 @@ class WriteCheckTimestampCallback : bool gotTimestamp_{false}; bool gotByteSeq_{false}; }; -#endif // MSG_ERRQUEUE +#endif // FOLLY_HAVE_MSG_ERRQUEUE class ReadCallbackBase : public AsyncTransportWrapper::ReadCallback {