Issue #2472 - Part 8: Fix conflicting defines on Mac.

This commit is contained in:
Brian Smith 2024-05-07 11:30:59 +02:00 committed by roytam1
commit de8213f561
3 changed files with 14 additions and 13 deletions

View file

@ -21,21 +21,8 @@
#include "mozilla/Unused.h"
#include "mozilla/dom/TabParent.h"
#ifdef XP_MACOSX
// Some defiens will be conflict with OSX SDK
#define TextRange _TextRange
#define TextRangeArray _TextRangeArray
#define Comment _Comment
#endif
#include "nsPluginInstanceOwner.h"
#ifdef XP_MACOSX
#undef TextRange
#undef TextRangeArray
#undef Comment
#endif
using namespace mozilla::widget;
namespace mozilla {