Fix OS/2 bustage by undefining |index|.

This commit is contained in:
dbaron%fas.harvard.edu 2002-01-05 15:43:19 +00:00
Родитель 14dbf6e625
Коммит f1c5888a43
2 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -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