AbsoluteTime & associated macros
AbsoluteTime & associated macros
- Subject: AbsoluteTime & associated macros
- From: david tay <email@hidden>
- Date: Thu, 3 Nov 2005 14:27:57 -0800
Hi, AbsoluteTime and the associated macros such as#define CMP_ABSOLUTETIME(t1, t2) \ (AbsoluteTime_to_scalar(t1) > \ AbsoluteTime_to_scalar(t2)? (int)+1 : \ (AbsoluteTime_to_scalar(t1) < \ AbsoluteTime_to_scalar(t2)? (int)-1 : 0))
have been deprecated since 10.4. However, I have to create kexts that work on both Panther and Tiger.
The options I see are a. Keep the development and build environment in 10.3.9. b. Create a separate .h file to hold the various definitions. c. Minimize the use of AbsoluteTime.
I've also noticed that the darwin kernel sources still make ample use of AbsoluteTime and macros like CMP_ABSOLUTETIME.
Is there another way to get around the loss of AbsoluteTime and associated macros?
Thanks,
David |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden