Re: IOConnectCallStructMethod which macros for 10.6
Re: IOConnectCallStructMethod which macros for 10.6
- Subject: Re: IOConnectCallStructMethod which macros for 10.6
- From: kiran kumar <email@hidden>
- Date: Tue, 22 Nov 2011 23:47:04 +0530
thanks schoffstall for ur reply.
i want to use single sourcecode for 10.4 ,10.5, 10,6, 10.7 for that can i use like this
#if define(__LP64__)
IOConnectCallStructMethod();
//true if it is 10.6(32/64)
#else
IOConnectMethodStructureIStructureO();
//10.5, 10.4
#endif
is this right way can anyone suggest.
Thanks Kiran.K
On Tue, Nov 22, 2011 at 6:27 PM, Evan Schoffstall
<email@hidden> wrote:
Was IOConnectMethodStructureIStructureO decap?
If not than you can just use 10.6.
--
Evan Schoffstall
Sent with
Sparrow
On Tuesday, November 22, 2011 at 5:22 AM, kiran kumar wrote:
Hi All,
I am calling two Methods, one for 10.4 and other one for 10.6(32 and 64-bit).
problem is which macros i need to use it
IOConnectCallStructMethod for 10.6(32/64)
IOConnectMethodStructureIStructureO for 10.4
if i take base SDK 10.4 it shows compile error for IOConnectCallStructMethod method.
Thanks,
Kiran
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (
email@hidden)
This email sent to
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden