Mailing Lists: Apple Mailing Lists

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

Making Carbon code compatible with earlier versions of OSX



In my code I would like to use the function:

CFLocaleCopyCurrent

This is defined in CoreService 10.3 or later but not in earlier versions.
If I build my code with the CoreServices Framework 10.3 then it works OK on 10.3 machines. However, when I run it on 10.2 machines the program does not run:

undefined reference to _CFLocaleCopyCurrent expected to be in CoreServices

How can I build my code so that I can use this function in the user is running OSX 10.3 and not have this error (and not use the function) if they are running OSX10.2?

 

 _______________________________________________
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.