summaryrefslogtreecommitdiff
path: root/selftest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'selftest.cpp')
-rw-r--r--selftest.cpp7
1 files changed, 7 insertions, 0 deletions
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()
{