mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Issue #2472 - Part 8: Fix conflicting defines on Mac.
This commit is contained in:
parent
c77b4b0bad
commit
de8213f561
3 changed files with 14 additions and 13 deletions
|
|
@ -20,7 +20,14 @@
|
|||
|
||||
#ifdef XP_MACOSX
|
||||
#include "mozilla/gfx/QuartzSupport.h"
|
||||
// Some defines will conflict with OSX SDK
|
||||
#define TextRange _TextRange
|
||||
#define TextRangeArray _TextRangeArray
|
||||
#define Comment _Comment
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
#undef TextRange
|
||||
#undef TextRangeArray
|
||||
#undef Comment
|
||||
#endif
|
||||
|
||||
class nsIInputStream;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue