Unixware compilation fix (#undef index)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d26d975463
commit
66f2199449
@ -29,6 +29,10 @@
|
||||
|
||||
#if wxUSE_IMAGE
|
||||
|
||||
// on some systems (Unixware 7.x) index is defined as a macro in the headers
|
||||
// which breaks the compilation below
|
||||
#undef index
|
||||
|
||||
#define wxIMAGE_OPTION_FILENAME wxString(_T("FileName"))
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@ -93,7 +97,7 @@ private:
|
||||
class WXDLLEXPORT wxImageHistogramEntry
|
||||
{
|
||||
public:
|
||||
wxImageHistogramEntry() : index(0), value(0) {}
|
||||
wxImageHistogramEntry() { index = value = 0; }
|
||||
unsigned long index;
|
||||
unsigned long value;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user