Hello,
I have the following code:
'Zoom button in my program's main window disabled with this
#if TargetCarbon
Declare Sub ChangeWindowAttributes Lib "CarbonLib" (win as WindowPtr,
setAttribs as integer, removeAttribs as integer)
ChangeWindowAttributes self, 0, 6
#elseif TargetMachO
Declare Sub ChangeWindowAttributes Lib "Carbon" (win as WindowPtr, setAttribs
as integer, removeAttribs as integer)
ChangeWindowAttributes self, 0, 6
#endif
When I try to build in i386 or UB I get a message indicating that CarbonLib
should be changed to Carbon, changing that corrects the problem, but is there a
way to add something like
#elseif ...
so that I don't have to change anything?
Thanks.
Lennox
---------------------------------
Get your email and more, right on the new Yahoo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>