Skip to content

Commit 7ec2ce7

Browse files
Fix macOS build (apache#67)
### Motivation In macOS, the value type of STL container cannot be forward declared
1 parent ecc1995 commit 7ec2ce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ProducerImpl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
#include "Future.h"
2525
#include "HandlerBase.h"
26-
// In MSVC, the value type of a STL container cannot be forward declared
27-
#if defined(_MSC_VER)
26+
// In MSVC and macOS, the value type of STL container cannot be forward declared
27+
#if defined(_MSC_VER) || defined(__APPLE__)
2828
#include "OpSendMsg.h"
2929
#endif
3030
#include "PendingFailures.h"

0 commit comments

Comments
 (0)