#error IOLib.h is for kernel use only
#endif
-#ifndef IOKIT_DEPRECATED
-#define IOKIT_DEPRECATED 1
-#endif
+#include <sys/appleapiopts.h>
#include <IOKit/system.h>
#include <kern/thread_call.h>
#include <kern/clock.h>
+
/*
* min/max macros.
*/
(((value) / (multiple)) * (multiple));
-#if IOKIT_DEPRECATED
+#ifdef __APPLE_API_OBSOLETE
/* The following API is deprecated */
void IOPanic(const char *reason);
-/* The AbsoluteTime clock API exported by kern/clock.h
+/* The API exported by kern/clock.h
should be used for high resolution timing. */
void IOGetTime( mach_timespec_t * clock_time);
extern mach_timespec_t IOZeroTvalspec;
-#endif /* IOKIT_DEPRECATED */
+#endif /* __APPLE_API_OBSOLETE */
#ifdef __cplusplus
} /* extern "C" */