Loading...
include/libkern/OSThermalNotification.h Libc-1725.40.4 Libc-1158.50.2
--- Libc/Libc-1725.40.4/include/libkern/OSThermalNotification.h
+++ Libc/Libc-1158.50.2/include/libkern/OSThermalNotification.h
@@ -24,12 +24,8 @@
 #ifndef _OSTHERMALNOTIFICATION_H_
 #define _OSTHERMALNOTIFICATION_H_
 
-#include <_bounds.h>
 #include <sys/cdefs.h>
 #include <Availability.h>
-#include <TargetConditionals.h>
-
-_LIBC_SINGLE_BY_DEFAULT()
 
 /*
 **  OSThermalNotification.h
@@ -43,22 +39,24 @@
 __BEGIN_DECLS
 
 /* Define pressure levels usable by OSThermalPressureLevel */
+#if TARGET_OS_IPHONE
 typedef enum {
-#if TARGET_OS_OSX || TARGET_OS_MACCATALYST
-	kOSThermalPressureLevelNominal = 0,
-	kOSThermalPressureLevelModerate,
-	kOSThermalPressureLevelHeavy,
-	kOSThermalPressureLevelTrapping,
-	kOSThermalPressureLevelSleeping
-#else
 	kOSThermalPressureLevelNominal = 0,
 	kOSThermalPressureLevelLight = 10,
 	kOSThermalPressureLevelModerate = 20,
 	kOSThermalPressureLevelHeavy = 30,
 	kOSThermalPressureLevelTrapping = 40,
 	kOSThermalPressureLevelSleeping = 50
+} OSThermalPressureLevel;
+#else
+typedef enum {
+	kOSThermalPressureLevelNominal = 0,
+	kOSThermalPressureLevelModerate,
+	kOSThermalPressureLevelHeavy,
+	kOSThermalPressureLevelTrapping,
+	kOSThermalPressureLevelSleeping
+} OSThermalPressureLevel;
 #endif
-} OSThermalPressureLevel;
 
 /*
  ** External notify(3) string for thermal pressure level notification