From 4838cbc350a7608ebe345a821ef32bb01a8aeca7 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 2 Sep 2015 14:32:01 -0700 Subject: Unix domain sockets in Phy<> --- selftest.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'selftest.cpp') diff --git a/selftest.cpp b/selftest.cpp index 8af3fc0b..15afe52e 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -791,6 +791,13 @@ struct TestPhyHandlers testPhyInstance->close(sock,true); } } + +#ifdef __UNIX_LIKE__ + inline void phyOnUnixAccept(PhySocket *sockL,PhySocket *sockN,void **uptrL,void **uptrN) {} + inline void phyOnUnixClose(PhySocket *sock,void **uptr) {} + inline void phyOnUnixData(PhySocket *sock,void **uptr,void *data,unsigned long len) {} + inline void phyOnUnixWritable(PhySocket *sock,void **uptr) {} +#endif // __UNIX_LIKE__ }; static int testPhy() { -- cgit v1.2.3