]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_utilities/lib/powerwatch.cpp
Security-58286.20.16.tar.gz
[apple/security.git] / OSX / libsecurity_utilities / lib / powerwatch.cpp
index 239f1acb46405fc2b9a0571eb13e30cd4bb4538d..80448e047366ef21ced0f4aed1391ddf35ae448f 100644 (file)
@@ -28,6 +28,7 @@
 #include "powerwatch.h"
 #include <IOKit/IOMessage.h>
 
+#if TARGET_OS_OSX
 
 namespace Security {
 namespace MachPlusPlus {
@@ -252,3 +253,5 @@ boolean_t PortPowerWatcher::handle(mach_msg_header_t *in)
 } // end namespace MachPlusPlus
 
 } // end namespace Security
+
+#endif //TARGET_OS_OSX