[swift-users] libswift frontend ios
jgroff at apple.com
Tue Feb 23 15:03:25 CST 2016
Sorry, it looks like the magic combination is
#if (TARGET_OS_MAC && !TARGET_OS_IPHONE) || defined(__FreeBSD__)
...do REPL stuff...
> On Feb 23, 2016, at 12:42 PM, Ramakrishna Mallireddy <ramakrishna.malli at gmail.com> wrote:
> __MACOSX__ is not defined, where can I defined this, so that it only effects mac build.
> On Wed, Feb 24, 2016 at 1:57 AM, Joe Groff <jgroff at apple.com <mailto:jgroff at apple.com>> wrote:
> > On Feb 23, 2016, at 12:22 PM, Ramakrishna Mallireddy <ramakrishna.malli at gmail.com <mailto:ramakrishna.malli at gmail.com>> wrote:
> > I am using the build-script that comes with swift repository. If i remove Immediate dir completely from the build, mac_os build complains[as this will always invoke]. If I redefine the #if then I am getting a dozen errors that are part of histedit.h
> You will need to update the other #if __APPLE__ conditions in the file to match too.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users