Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checking taret OS version when compiling 'thng' resource



Dear list,

 

In compiling 'thng' resource, I want the compiler automatically work with different portions of my code which are targeted to different Mac OS X versions. As I did many times for *.c files, I've tried to use the pre-defined macro MAC_OS_X_VERSION_MIN_REQUIRED in my *.r file, and of course, I did not forget to put the two important lines at the beginning of the *.r file:

 

#include <Carbon/Carbon.r>

#include <AvailabilityMacros.h>

 

But this time, build failed with message "SysError 0 during open of  AvailabilityMacros.h". Any idea or suggestion will highly appreciate.

 

Chen

Confidentiality Notice: E-mail may be intercepted between the sender and the receiver and is therefore neither secure nor confidential. Your continued use of e-mail communication confirms that you accept this risk. If this is an urgent matter, please contact me at the phone number provided. This e-mail, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient or this information has been inappropriately forwarded to you, please contact the sender by reply e-mail and destroy all copies of the original
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.