зеркало из https://github.com/mozilla/pjs.git
Fix OS/2 bustage by undefining |index|.
This commit is contained in:
Родитель
14dbf6e625
Коммит
f1c5888a43
|
@ -41,6 +41,11 @@
|
|||
#include "nsIDOMNodeList.h"
|
||||
#include "nsIDOMNode.h"
|
||||
|
||||
// Deal with |#define index(a,b) strchr(a,b)| macro in Toolkit types.h
|
||||
#if defined(XP_OS2_VACPP) && defined(index)
|
||||
#undef index
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Helper class for iterating children during frame construction.
|
||||
* This class should always be used in lieu of the straight content
|
||||
|
|
|
@ -41,6 +41,11 @@
|
|||
#include "nsIDOMNodeList.h"
|
||||
#include "nsIDOMNode.h"
|
||||
|
||||
// Deal with |#define index(a,b) strchr(a,b)| macro in Toolkit types.h
|
||||
#if defined(XP_OS2_VACPP) && defined(index)
|
||||
#undef index
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Helper class for iterating children during frame construction.
|
||||
* This class should always be used in lieu of the straight content
|
||||
|
|
Загрузка…
Ссылка в новой задаче