48536dc6a7
This is the version supplied with Mac OS X 10.6.6.
17 lines
532 B
Text
17 lines
532 B
Text
$NetBSD: patch-af,v 1.1 2011/01/12 08:53:52 adam Exp $
|
|
|
|
mDNSPlatformSetAllowSleep only defined for Mac OS X.
|
|
|
|
--- mDNSCore/mDNS.c.orig 2010-10-08 23:05:00.000000000 +0000
|
|
+++ mDNSCore/mDNS.c
|
|
@@ -4011,8 +4011,10 @@ mDNSexport void mDNS_UpdateAllowSleep(mD
|
|
#endif /* !defined(IDLESLEEPCONTROL_DISABLED) */
|
|
}
|
|
|
|
+#if 0
|
|
// Call the platform code to enable/disable sleep
|
|
mDNSPlatformSetAllowSleep(m, allowSleep);
|
|
+#endif
|
|
}
|
|
|
|
mDNSlocal void SendSPSRegistration(mDNS *const m, NetworkInterfaceInfo *intf, const mDNSOpaque16 id)
|