From 4960324c8ec2b830ad4daf8ca313de82b2dc2b2c Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 31 Mar 2010 01:53:03 +0000 Subject: Minor tidy up. Remove uneccessary import and rename pre-compiled header. --- Source/Sequel-Pro.pch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Source/Sequel-Pro.pch (limited to 'Source/Sequel-Pro.pch') diff --git a/Source/Sequel-Pro.pch b/Source/Sequel-Pro.pch new file mode 100644 index 00000000..07fdf502 --- /dev/null +++ b/Source/Sequel-Pro.pch @@ -0,0 +1,23 @@ +// +// Prefix header for all source files of the 'sequel-pro' target in the 'sequel-pro' project. +// + +#ifdef __OBJC__ + #import +#endif + +#ifdef DEBUG + #define DLog(...) NSLog(__VA_ARGS__) +#else + #define DLog(...) +#endif + +#define ALog(...) NSLog(__VA_ARGS__) + +#ifndef enumerate +#define enumerate(container,var) for(NSEnumerator* _enumerator = [container objectEnumerator]; var = [_enumerator nextObject]; ) +#endif + +#ifndef sizeofA +#define sizeofA(a) (sizeof(a)/sizeof(a[0])) +#endif -- cgit v1.2.3