Ticket #1066: 3_py_suncc.patch

File 3_py_suncc.patch, 525 bytes (added by s.somani@…, 15 years ago)

Patch for SunCC 11 to compile class.cpp

  • libs/python/src/object/class.cpp

     
    428428      return object(
    429429          PyObject_IsInstance(scope().ptr(), upcast<PyObject>(&PyModule_Type))
    430430          ? object(scope().attr("__name__"))
    431           : api::getattr(scope(), "__module__", str())
     431          : api::getattr(scope(), (char *)("__module__"), str())
    432432          );
    433433  }
    434434