summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-10-29 16:02:21 (GMT)
committerKevin Smith <kevin.smith@isode.com>2015-10-30 12:49:29 (GMT)
commit8719b25e0dda4c8dae30c86ff88315e0e7fa9e1c (patch)
treedeb01d4eeadf3114b11279518d6d67a5100f54d3 /Slimber/Cocoa/CocoaController.mm
parentcb62de17d1e17fd3049a6bc8155a100574a42a85 (diff)
downloadswift-8719b25e0dda4c8dae30c86ff88315e0e7fa9e1c.zip
swift-8719b25e0dda4c8dae30c86ff88315e0e7fa9e1c.tar.bz2
Remove Boost workaround for OS X headers
Older versions of OS X define the same symbol as Boost does. The workaround, defining __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES as 0 worked around this issue, however __ prefixed defines are considered private and cause the warning "macro name is a reserved identifier [-Wreserved-id-macro]". Test-Information: Builds and unit tests pass on OS X 10.10.5. Change-Id: I489ec201dc31fb4e43336da690c7d348a7d0d9ca
Diffstat (limited to 'Slimber/Cocoa/CocoaController.mm')
-rw-r--r--Slimber/Cocoa/CocoaController.mm14
1 files changed, 10 insertions, 4 deletions
diff --git a/Slimber/Cocoa/CocoaController.mm b/Slimber/Cocoa/CocoaController.mm
index 2ee350d..da1df98 100644
--- a/Slimber/Cocoa/CocoaController.mm
+++ b/Slimber/Cocoa/CocoaController.mm
@@ -1,10 +1,16 @@
1#include "Slimber/Cocoa/CocoaController.h" 1/*
2 * Copyright (c) 2015 Isode Limited.
3 * All rights reserved.
4 * See the COPYING file for more information.
5 */
2 6
3#include "Slimber/MainController.h" 7#include <Slimber/Cocoa/CocoaController.h>
4#include "Slimber/Cocoa/CocoaMenulet.h" 8
5#include "Slimber/Cocoa/main.h" 9#include <Slimber/MainController.h>
10#include <Slimber/Cocoa/CocoaMenulet.h>
11#include <Slimber/Cocoa/main.h>
6 12
7@implementation CocoaController { 13@implementation CocoaController {
8 CocoaMenulet* menulet; 14 CocoaMenulet* menulet;
9 MainController* main; 15 MainController* main;
10} 16}