diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-08-16 16:29:40 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-08-16 16:34:03 +0300 |
commit | d626fa2e5892a8a166b5aec49e9cb5bfc2cf18c5 (patch) | |
tree | f4f287f94feaeb7b74a61f9290118c522cbf284d /vcl | |
parent | d0a593d77133906b9541eee418cffbc222ae4ff4 (diff) |
Fix build breakage for 64-bit where NSPoint == CGPoint
Change-Id: I2dc86331cd1ddf3a9b9ea28dcd881d23789d60d6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/a11y/aqua11ywrapper.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/aqua/source/a11y/aqua11ywrapper.mm b/vcl/aqua/source/a11y/aqua11ywrapper.mm index e5dde15edf80..8de6f5cd2bfc 100644 --- a/vcl/aqua/source/a11y/aqua11ywrapper.mm +++ b/vcl/aqua/source/a11y/aqua11ywrapper.mm @@ -62,10 +62,16 @@ static std::ostream &operator<<(std::ostream &s, NSObject *obj) { return s << [[obj description] UTF8String]; } +#ifndef _LP64 + +// In 64-bit code NSPoint == CGPoint, and CGPoint already has +// an operator<< in vcl/inc/quartz/util.h + static std::ostream &operator<<(std::ostream &s, NSPoint point) { return s << NSStringFromPoint(point); } +#endif @implementation AquaA11yWrapper : NSView |