Skip to content

Instantly share code, notes, and snippets.

@sorbits
Created January 16, 2016 10:37
Show Gist options
  • Save sorbits/60bbdb8d5723847ab269 to your computer and use it in GitHub Desktop.
Save sorbits/60bbdb8d5723847ab269 to your computer and use it in GitHub Desktop.
This is the file read by clang.mm (previous gist)
#if (__cplusplus && __cplusplus >= 201103L && (__has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum))) || (!__cplusplus && __has_feature(objc_fixed_enum))
#warning "we are OK"
#endif
#import <CoreFoundation/CoreFoundation.h>
#import <MacTypes.h>
#import <stdio.h>
#import <stdint.h>
#import <math.h>
#import <pthread.h>
#import <dispatch/dispatch.h>
#import <unistd.h>
#import <fcntl.h>
// Cocoa
#import <objc/runtime.h>
#import <AddressBook/AddressBook.h>
#import <AddressBook/AddressBookUI.h>
#import <AppKit/AppKit.h>
#import <ExceptionHandling/ExceptionHandling.h>
#import <Foundation/Foundation.h>
#import <PreferencePanes/PreferencePanes.h>
#import <QTKit/QTKit.h>
#import <Quartz/Quartz.h>
#import <QuartzComposer/QuartzComposer.h>
#import <QuickLook/QuickLook.h>
#import <ScreenSaver/ScreenSaver.h>
#import <WebKit/WebKit.h>
int main (int argc, char const* argv[])
{
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment